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.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b21c511..0d564b0 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,7 +14,16 @@
{{ .Content }}
</div>
</article>
+ {{ if ne .Params.noLicense true }}
+ <div class="markdown-body" id="license">
+ <blockquote>
+ <p>除特殊注明部分,本作品采用 <a rel="license" href="{{ .Site.Params.licenseLink }}" target="_blank">{{ .Site.Params.license }}</a> 进行许可。</p>
+ </blockquote>
+ </div>
+ {{ end }}
+ {{ if .Site.Params.cdnUtterancesJS }}
{{ partial "comment-utterances.html" . }}
+ {{ end }}
</div>
<!-- sidebar -->
<div class="col-md-3 col-12 float-left" id="sidebar">