Friendship style
Last updated
Last updated
The Redefine theme has optimized the style of the links page. You only need to follow the tutorial below to get a beautiful list of links, as shown in the figure below.
Create a links page and use the following command in the root directory of your Hexo project to automatically create it.
::: warning attention Do not modify the title
property of the source/links/index.md
file! Friend link styles are matched according to title: links
!
:::
Enable links
in the menu
configuration item of the Redefine theme configuration file _config.yml
.
Add a _data
folder to the source
folder of your Hexo project. ::: tip If you already have a _data
folder, ignore this step. :::
Create a links.yml
file in the _data
folder.
Add your link in the links.yml
file in the following format.