use {.Site.Copyright}

This commit is contained in:
ghsable
2020-02-09 10:52:50 +09:00
parent 860cfb4bfb
commit 79e24b352c
2 changed files with 3 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ baseURL = "https://example.com/"
title = "GitHub Style" title = "GitHub Style"
googleAnalytics = "UA-123-456-789" googleAnalytics = "UA-123-456-789"
theme = "github-style" theme = "github-style"
copyright = "© 2019. Theme by <a href=\"https://github.com/MeiK2333/github-style\"><span>github-style</span></a>"
[params] [params]
author = "example" author = "example"

View File

@@ -3,7 +3,7 @@
class="position-relative d-flex flex-row-reverse flex-lg-row flex-wrap flex-lg-nowrap flex-justify-center flex-lg-justify-between pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light "> class="position-relative d-flex flex-row-reverse flex-lg-row flex-wrap flex-lg-nowrap flex-justify-center flex-lg-justify-between pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light ">
<ul <ul
class="list-style-none d-flex flex-wrap col-12 col-lg-5 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0"> class="list-style-none d-flex flex-wrap col-12 col-lg-5 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0">
<li class="mr-3 mr-lg-0">© 2019. Theme by <a href="https://github.com/MeiK2333/github-style"><span>github-style</span></a></li> <li class="mr-3 mr-lg-0">{{ .Site.Copyright | safeHTML }}</a></li>
</ul> </ul>
<a aria-label="Homepage" title="{{ .Site.Title }}" class="footer-octicon d-none d-lg-block mx-lg-4" <a aria-label="Homepage" title="{{ .Site.Title }}" class="footer-octicon d-none d-lg-block mx-lg-4"