theme-next / hexo-theme-next-anchor

A NexT plugin that adds an anchor to every heading.
GNU Lesser General Public License v3.0
6 stars 1 forks source link

The font setting should be set by default to `Font Awesome 5 Free` #1

Open bytemain opened 4 years ago

bytemain commented 4 years ago

hexo-theme-next@latest is using Font Awesome 5 Free

yanboyang713 commented 3 years ago

@lengthmin Hello lengthmin, this anchor does not work on my blog. Do you know how can I change the config file? Thanks

bytemain commented 3 years ago

@lengthmin Hello lengthmin, this anchor does not work on my blog. Do you know how can I change the config file? Thanks

我已经没用这个包了。

如果你用的也是最新的 next 主题,把图中的红框部分:

image

改成 Font Awesome 5 Free 试试

yanboyang713 commented 3 years ago

@lengthmin 谢谢。 我试了一下这样写不行。Anchor还是有问题.你是怎么写的这个配置问题?

Anchor

anchor: enable: true color: '#0e83cd' position: right # If left, anchors will always be visible. margin: 7px text: '#' icon:

If true, the text option will be ignored.

enable: false
# By default, NexT has built-in FontAwesome support.
# This option means `font-family: FontAwesome`, so DO Not change it.
# Also you can choose ForkAwesome, but that's another story.
font: "Font Awesome 5 Free"
content: \f0c1 # CSS content for FontAwesome & ForkAwesome.

我现在是用docker run的hexo https://www.yanboyang.com/2020/12/25/hexoWithDocker/

Boyang Yan's blog
Creating a Hexo blog with Docker
OverviewThis is a tutorial on creating a blog or website using hexo.io (a static site generator). We will use Docker as our development environment. Also, we will storge our Hexo development code in
bytemain commented 3 years ago

我没用这个包了

yanboyang713 commented 3 years ago

@lengthmin 你现在不用Anchor了?还是改用其他的了