Website-Redesign/layouts/_default/single.html

31 lines
861 B
HTML
Raw Normal View History

2020-08-24 01:48:03 -05:00
{{ define "main" }}
2021-01-02 07:08:21 -06:00
{{- partial "inject/content-before.html" . -}}
2020-08-24 01:48:03 -05:00
<article>
<h1>{{ .Title }}</h1>
<p class="date">
<span title="Date"></span>
{{ .Date.Format "2006-01-02" }}
</p>
2020-08-24 01:48:03 -05:00
<div>{{ .Content }}</div>
{{ if .Params.tags }}
<hr />
<p>
2021-01-02 15:53:55 -06:00
<span></span>
<strong>Tags:</strong>
2020-08-24 01:48:03 -05:00
{{ range .Params.tags }}
<a href="/tags/{{ . }}">#{{ . }}</a>
{{ end }}
</p>
{{ end }}
</article>
2021-01-02 07:08:21 -06:00
{{- partial "inject/content-after.html" . -}}
2020-08-24 03:41:03 -05:00
{{ if .Site.Params.commento }}
2020-08-24 04:30:00 -05:00
<script
defer
src="{{ .Site.Params.commento }}"
data-no-fonts="true"
></script>
2020-08-24 03:41:03 -05:00
<div id="commento"></div>
{{ end }}
2020-08-24 01:48:03 -05:00
{{ end }}