前言
如果不喜欢Butterfly
主题自带的曲别针图标,可以换一种口味。(比如我现在使用的旋转风车)
操作
找到主题配置文件_config.butterfly.yml
把beautify
的title-prefix-icon
处修改为:'\f863'
(如果没有开启图标功能则需要将enable
设置为true
)
1 2 3
| beautify: enable: true title-prefix-icon: '\f863'
|
在inject
的head
处引入以下文件:
1 2 3
| 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>"
|
重新部署,启动,就可以看到效果了。