summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e2b0fc1..db5e2f5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,10 +1,10 @@
{{ define "main" }}
<article>
<!-- post meta -->
- <h4 class="post-title">
+ <h2 class="post-item post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
- </h4>
- <div class="post-meta link-alter">
+ </h2>
+ <div class="post-item post-meta">
{{ partial "post-meta.html" . }}
</div>
{{ with .Params.playerURL }}
@@ -16,15 +16,19 @@
</div>
</article>
<!-- post license -->
-{{ if ne .Params.noLicense true }}
+{{ if and (.Site.Params.showLicense) (ne .Params.noLicense true) }}
<div class="license markdown-body">
<blockquote>
- <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}" target="_blank">{{ .Site.Params.license }}</a>{{ i18n "postCopyrightEnd" }}</p>
+ <p>{{ i18n "postCopyrightFront" }}<a rel="license" href="{{ .Site.Params.licenseLink }}"
+ target="_blank">{{ .Site.Params.license }}</a>{{ i18n "postCopyrightEnd" }}</p>
</blockquote>
</div>
{{ end }}
-{{ if ne .Params.noComments true }}
-{{ partial "comment-utterances.html" . }}
+{{ if .Site.Params.disqusJSApi }}
+{{ partial "comment-disqusjs.html" . }}
+{{ else if .Site.Params.disqusShortname }}
{{ partial "comment-disqus.html" . }}
-{{ end }}
+{{ else if .Site.Params.utterancesRepo }}
+{{ partial "comment-utterances.html" . }}
+{{ else }}{{ end }}
{{ end }} \ No newline at end of file