前言

如果不喜欢Butterfly主题自带的曲别针图标,可以换一种口味。(比如我现在使用的旋转风车)

操作

找到主题配置文件_config.butterfly.yml

beautifytitle-prefix-icon处修改为:'\f863'

(如果没有开启图标功能则需要将enable设置为true

1
2
3
beautify:
enable: true
title-prefix-icon: '\f863'

injecthead处引入以下文件:

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>"

重新部署,启动,就可以看到效果了。