diff options
author | Bivectorfoil <550282600@qq.com> | 2018-10-03 08:22:21 +0300 |
---|---|---|
committer | coderzh <pythonzh@qq.com> | 2018-10-07 08:09:41 +0300 |
commit | 39c82a5fd7c87bfab74272dad78567018d6f6041 (patch) | |
tree | 5e617d8aeaf5444311dc0bff27398b5f774250ca /layouts | |
parent | ec6a99061ae661b85924af126a532ca48008afaa (diff) |
Feature: add CreativeCommons icon support.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/article_content.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/article_content.html b/layouts/partials/article_content.html index f948772..7cf8544 100644 --- a/layouts/partials/article_content.html +++ b/layouts/partials/article_content.html @@ -9,6 +9,15 @@ </div> {{ end }} {{ .Content }} + {{ if .Params.CreativeCommons }} + <div class="creative-commons"> + <a rel="license" + href="https://creativecommons.org/licenses/by-sa/4.0/"><img + alt="知识共享许可协议" style="border-width:0" + src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /> + </a><br /> + </div> + {{ end }} </div> {{ partial "article_footer.html" . }} </article> |