hugo-theme-noteworthy/layouts/_default/single.html

22 lines
511 B
HTML
Raw Normal View History

2020-02-02 17:13:02 +00:00
{{ define "main" }}
<h1 class="post-title">{{ .Title }}</h1>
{{ if .Date }}
2020-02-02 17:13:02 +00:00
<time>{{ .Date.Format "January 2, 2006" }}</time>
{{ end }}
2020-02-02 17:13:02 +00:00
<div>
<p>
{{ .Content }}
</p>
</div>
{{ template "_internal/disqus.html" . }}
<div class="page-footer">
{{if .Params.tags}}
2020-02-25 07:27:09 +00:00
<hr class="footer-divider">
{{ range .Params.tags }}
<a class="tag" href="/tags/{{ . | urlize }}">#{{.}}</a>
2020-02-02 17:13:02 +00:00
{{ end }}
{{ end }}
2020-02-02 17:13:02 +00:00
</div>
{{end}}