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

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryunxiang.zhao <xiaohei.zyx@gmail.com>2021-06-07 05:50:06 +0300
committerGitHub <noreply@github.com>2021-06-07 05:50:06 +0300
commita879f8d7fad0863e748f0fdfd7c9487ce3eddb8b (patch)
tree2ec6265e7abc25cd14323b9165e53c4a799c195b
parentc97723a02ac3abace65a6433eab381f0acbe2719 (diff)
parent5422abdd11d5bbe58e4b3c7025322d349231065e (diff)
Merge pull request #99 from kbyyd24/add-beian
添加备案支持
-rw-r--r--layouts/partials/footer.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index c5b9dec..0ad3f0d 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -10,5 +10,10 @@
<div class="publishby">
{{T "copyright_theme_by"}} <a href="https://github.com/xiaoheiAh" target="_blank"> xiaoheiAh </a>{{T "copyright_base_on"}}<a href="https://github.com/xiaoheiAh/hugo-theme-pure" target="_blank"> pure</a>.
</div>
+ {{ if (isset .Site.Params "beian") }}
+ <div>
+ <a href="https://beian.miit.gov.cn/" target="_blank">{{- print .Site.Params.beian }}</a>
+ </div>
+ {{ end }}
</div>
</footer>