]> njoseph.me Git - hyde.git/blobdiff - layouts/_default/single.html
First setup of blog
[hyde.git] / layouts / _default / single.html
index c5fdbc23f6828b816e935d85e1d1f10d20ce96fa..afc13622cf3a01ef91a352c3411b48b365e81253 100644 (file)
@@ -1,12 +1,12 @@
 {{ define "main" -}}
 <div class="post">
   <h1>{{ .Title }}</h1>
-  <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
+  <time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Jan 2, 2006" }}</time>
   {{ .Content }}
 </div>
 
-{{ if .Site.Params.disqusShortname -}}
+{{ if .Site.DisqusShortname -}}
 <h2>Comments</h2>
-
+{{ template "_internal/disqus.html" . }}
+{{- end }}
 {{- end }}
-{{- end }}
\ No newline at end of file