refactor: change config.toml structure

This commit is contained in:
Jimmy Cai
2020-09-06 12:56:44 +02:00
parent 292e96d764
commit 47fb5af201
3 changed files with 21 additions and 13 deletions
@@ -7,10 +7,10 @@
</section>
{{ end }}
{{ if .Site.Params.postLicense }}
{{ if .Site.Params.article.defaultLicense }}
<section class="article-copyright">
{{ (resources.Get "icons/copyright.svg").Content | safeHTML }}
<span>{{ .Site.Params.postLicense }}</span>
<span>{{ .Site.Params.article.defaultLicense }}</span>
</section>
{{ end }}
</footer>