Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yanlinlin82/simple-style.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinlin Yan <yanlinlin82@gmail.com>2019-12-05 06:53:03 +0300
committerLinlin Yan <yanlinlin82@gmail.com>2019-12-05 06:53:03 +0300
commit2246a73ec9c472e4a6ececd028f17fe1206f96c4 (patch)
tree54617a27c5c9a879582ae0e0a2408090d61fe001
parent626a4a221344169e1b25b9eb96072076b1d76dbe (diff)
Allow to override license text
-rw-r--r--layouts/_default/baseof.html8
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">&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 -}}
+ &copy; 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
+ {{- end -}}
+ </div>
</footer>
</div>
</body>