diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 96c9f94..26149e7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,19 +1,19 @@ - {{ partial "head.html" . }} - <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> - {{ partial "sidebar.html" . }} +{{ partial "head.html" . }} +<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}"> + {{ partial "sidebar.html" . }} - <div class="content container"> - <div class="post"> - <h1>{{ .Title }}</h1> - <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> - {{ .Content }} - </div> + <div class="content container"> + <div class="post"> + <h1>{{ .Title }}</h1> + <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> + {{ .Content }} + </div> - {{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }} + {{ if .Site.Params.disqusShortname }} <h2>Comments</h2> {{ partial "disqus" . }} {{ end }} </div> - </body> -</html> +</body> +</html> \ No newline at end of file |