For this upgrade, you need to add the following to your theme configuration file, which can be checked against: https://github.com/Yet-The-Books/hexo-theme-yet-the-books/blob/main/_config.yml
favicon:
href: /favicon.ico # Favicon of your site.
type: image/x-icon # Icon type, possible values are(image/png, image/vnd.microsoft.icon, image/x-icon, image/gif)
head: '<!--<script src="" async></script>-->' # Add anything to <head></head>
github:
repo: nexmoe/books # nexmoe/books
edit: true # true,false
history: true # true,false
archives:
switch: false # true,false Switching this function.
categories: [算法,游戏] # Only the categories you set will be displayed on the archive page.
What's new?
- On the archive page, you can set the categories to be shown by default and the others to be hidden.
- Now, there is a edit button for GitHub on the article page.
- The archive page can display all tags of your site. There also display tags on the article page.
- You can insert HTML tags in your theme configuration file
head
. - There comes a new configuration of favicon.
H