diff options
author | Linlin Yan <yanlinlin82@gmail.com> | 2019-12-05 06:53:03 +0300 |
---|---|---|
committer | Linlin Yan <yanlinlin82@gmail.com> | 2019-12-05 06:53:03 +0300 |
commit | 2246a73ec9c472e4a6ececd028f17fe1206f96c4 (patch) | |
tree | 54617a27c5c9a879582ae0e0a2408090d61fe001 | |
parent | 626a4a221344169e1b25b9eb96072076b1d76dbe (diff) |
Allow to override license text
-rw-r--r-- | layouts/_default/baseof.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 86b3144..3c45388 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,7 +25,13 @@ {{ block "main" . }}{{- end }} </div> <footer class="site-footer"> - <div class="copy">© 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a></div> + <div class="copy"> + {{- if .Site.Copyright -}} + {{- .Site.Copyright -}} + {{- else -}} + © 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a> + {{- end -}} + </div> </footer> </div> </body> |