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

20 lines
540 B
HTML
Raw Normal View History

2015-07-17 10:21:50 +00:00
{{ partial "head.html" . }}
<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
2015-07-17 10:21:50 +00:00
{{ partial "sidebar.html" . }}
2014-04-26 22:25:13 +00:00
2015-07-17 10:21:50 +00:00
<div class="content container">
<div class="post">
<h1>{{ .Title }}</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
{{ .Content }}
</div>
2014-04-26 22:25:13 +00:00
2015-07-17 10:21:50 +00:00
{{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }}
<h2>Comments</h2>
{{ partial "disqus" . }}
{{ end }}
</div>
2014-04-26 22:25:13 +00:00
</body>
</html>