]> njoseph.me Git - hyde.git/blobdiff - layouts/_default/single.html
Remove custom Disqus template
[hyde.git] / layouts / _default / single.html
index 61d009db9a1b69bdb7e6d0a19ea30f29859e123c..c5fdbc23f6828b816e935d85e1d1f10d20ce96fa 100644 (file)
@@ -1,15 +1,12 @@
-{{ partial "head.html" . }}
-<body>
-
-{{ partial "sidebar.html" . }}
-
-    <div class="content container">
+{{ define "main" -}}
 <div class="post">
   <h1>{{ .Title }}</h1>
   <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
-      {{ .Content }}
-</div>
+  {{ .Content }}
 </div>
 
-  </body>
-</html>
+{{ if .Site.Params.disqusShortname -}}
+<h2>Comments</h2>
+
+{{- end }}
+{{- end }}
\ No newline at end of file