feat: show content license in footer (#106)

This commit is contained in:
Michael Kuhn 2021-11-20 22:49:56 +01:00 committed by GitHub
parent bbd3c370dd
commit 59b3d4a92d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,5 +34,12 @@
</span>
</section>
{{ end }}
{{ with .Site.Params.GeekblogContentLicense }}
<section class="flex flex-wrap align-center">
<span class="gblog-footer__item">
Content licensed under <a href="{{ .link }}" class="gblog-footer__link no-wrap">{{ .name }}</a>
</span>
</section>
{{ end }}
</nav>
</footer>