msfjarvis.dev/themes/hyde/layouts/_default/single.html
Harsh Shandilya e9df2e450c Move template modifications out of themes/hyde and rollback misc changes
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-02-04 02:15:50 +05:30

13 lines
328 B
HTML

{{ define "main" -}}
<div class="post">
<h1>{{ .Title }}</h1>
<time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
{{ .Content }}
</div>
{{ if .Site.DisqusShortname -}}
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}
{{- end }}