Website-Redesign/layouts/_default/single.html

21 lines
587 B
HTML
Raw Normal View History

2020-08-24 01:48:03 -05:00
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<p class="date">{{ .Date.Format "2006-01-02" }}</p>
<div>{{ .Content }}</div>
{{ if .Params.tags }}
<hr />
<p>
<h4>Tags:</h4>
{{ range .Params.tags }}
<a href="/tags/{{ . }}">#{{ . }}</a>
{{ end }}
</p>
{{ end }}
</article>
2020-08-24 03:41:03 -05:00
{{ if .Site.Params.commento }}
<script defer src="{{ .Site.Params.commento }}"></script>
<div id="commento"></div>
{{ end }}
2020-08-24 01:48:03 -05:00
{{ end }}