Icons
Iconify v1.10.x
Use Iconify to load icon resources after v1.10.x
.
So you can use any icons you can see in https://icones.js.org/.
The naming convention is: ri:github-line
.
This theme uses Remix Icon by default, so the previous
icon-github-line
is migrated tori:github-line
.
Such as:
icon: ri:github-line
Deprecated usage since v1.10.x
The default icon used by the current theme (corresponding to the cdn.js.async
in the file _config.yml
.iconfont` link)
Most of the icons are taken from Remix Icon and keep their original names.
Only the most commonly used icons are provided by default, which is conducive to satisfying the use of the premise and reducing the loaded resources. If you want to use more icons, it is recommended to go to iconfont to customize your icon set. It is introduced in [head](/guide/config.html#head-head resources).
When writing your icon name in _config,yml
, remember to prefix it with icon-
. This distinguishes iconfont’s SVG icons from other font icons.
For Example:
icon: icon-github-line
Auxiliary icon
Universal UI auxiliary icons
Ideogram icon
Usually there are corresponding objects in reality