From e820b6ebff1e8ac990e38bfa0ddb2c0800a50b2d Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Wed, 25 Aug 2021 22:47:11 -0700 Subject: [PATCH] doc: add footer_beautify in footer settings --- themes/butterfly/_config.yml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/themes/butterfly/_config.yml b/themes/butterfly/_config.yml index 07b5bf5..82a847b 100644 --- a/themes/butterfly/_config.yml +++ b/themes/butterfly/_config.yml @@ -432,6 +432,46 @@ footer: custom_text: copyright: false # Copyright of theme and framework +footer_beautify: + enable: + timer: true # 计时器开关 + bdage: true # 徽标开关 + priority: 5 #过滤器优先权 + enable_page: all # 应用页面 + exclude: #屏蔽页面 + # - /posts/ + # - /about/ + layout: # 挂载容器类型 + type: id + name: footer-wrap + index: 0 + # 计时器部分配置项 + runtime_js: https://cdn.jsdelivr.net/npm/hexo-butterfly-footer-beautify@1.0.0/lib/runtime.js + runtime_css: https://cdn.jsdelivr.net/npm/hexo-butterfly-footer-beautify@1.0.0/lib/runtime.css + # 徽标部分配置项 + bdageitem: + - link: https://hexo.io/ #徽标指向网站链接 + shields: https://img.shields.io/badge/Frame-Hexo-blue?style=flat&logo=hexo #徽标API + message: 博客框架为Hexo_v5.4.0 #徽标提示语 + - link: https://butterfly.js.org/ + shields: https://img.shields.io/badge/Theme-Butterfly-6513df?style=flat&logo=bitdefender + message: 主题版本Butterfly_v3.8.2 + - link: https://www.jsdelivr.com/ + shields: https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr + message: 本站使用JsDelivr为静态资源提供CDN加速 + - link: https://vercel.com/ + shields: https://img.shields.io/badge/Hosted-Vercel-brightgreen?style=flat&logo=Vercel + message: 本站采用双线部署,默认线路托管于Vercel + - link: https://vercel.com/ + shields: https://img.shields.io/badge/Hosted-Coding-0cedbe?style=flat&logo=Codio + message: 本站采用双线部署,联通线路托管于Coding + - link: https://github.com/ + shields: https://img.shields.io/badge/Source-Github-d021d6?style=flat&logo=GitHub + message: 本站项目由Gtihub托管 + - link: http://creativecommons.org/licenses/by-nc-sa/4.0/ + shields: https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&logo=Claris + message: 本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可 + # Analysis # --------------------------------------