前言 {#前言}
如果不喜欢Butterfly主题自带的曲别针图标,可以换一种风格。(比如我现在使用的旋转风车)
操作 {#操作}
打开主题配置文件_config.butterfly.yml
把beautify的title-prefix-icon选项设置为'\f863'
(如果没有开启图标功能则需要将enable设置为true)
|-----------------------------------------------------------|
| beautify: enable: true title-prefix-icon: '\f863' |
在inject的head引入:
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| inject: head: <style>#article-container.post-content h1: before, h2: before, h3: before, h4: before, h5: before, h6: before { -webkit-animation: avatar_turn_around 1s linear infinite; -moz-animation: avatar_turn_around 1s linear infinite; -o-animation: avatar_turn_around 1s linear infinite; -ms-animation: avatar_turn_around 1s linear infinite; animation: avatar_turn_around 1s linear infinite; }</style> |
重新部署,执行 hexo cl,hexo g,hexo s 三连即可看到效果。
51工具盒子