|
@@ -1,15 +1,19 @@
|
1
|
|
-{{ partial "head.html" . }}
|
2
|
|
-<body class="{{ .Site.Params.themeColor }}">
|
|
1
|
+ {{ partial "head.html" . }}
|
|
2
|
+ <body class="{{ .Site.Params.themeColor }}">
|
|
3
|
+ {{ partial "sidebar.html" . }}
|
3
|
4
|
|
4
|
|
-{{ partial "sidebar.html" . }}
|
|
5
|
+ <div class="content container">
|
|
6
|
+ <div class="post">
|
|
7
|
+ <h1>{{ .Title }}</h1>
|
|
8
|
+ <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
|
9
|
+ {{ .Content }}
|
|
10
|
+ </div>
|
5
|
11
|
|
6
|
|
- <div class="content container">
|
7
|
|
-<div class="post">
|
8
|
|
- <h1>{{ .Title }}</h1>
|
9
|
|
- <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
10
|
|
- {{ .Content }}
|
11
|
|
-</div>
|
12
|
|
-</div>
|
|
12
|
+ {{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }}
|
|
13
|
+ <h2>Comments</h2>
|
|
14
|
+ {{ partial "disqus" . }}
|
|
15
|
+ {{ end }}
|
|
16
|
+ </div>
|
13
|
17
|
|
14
|
18
|
</body>
|
15
|
19
|
</html>
|