diff options
author | yunxiang.zhao <xiaohei.zyx@gmail.com> | 2021-06-07 05:50:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 05:50:06 +0300 |
commit | a879f8d7fad0863e748f0fdfd7c9487ce3eddb8b (patch) | |
tree | 2ec6265e7abc25cd14323b9165e53c4a799c195b | |
parent | c97723a02ac3abace65a6433eab381f0acbe2719 (diff) | |
parent | 5422abdd11d5bbe58e4b3c7025322d349231065e (diff) |
Merge pull request #99 from kbyyd24/add-beian
添加备案支持
-rw-r--r-- | layouts/partials/footer.html | 5 |
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> |