Microsoft has terminated support for Internet Explorer (IE) 10 and earlier versions in 2016. There are great security risks to continue using it. Please use contemporary mainstream browsers to access. Learn more >')
The navigation bar is divided into three area settings: logo, menu, and search. If pictures are set in the logo area, icons and titles cannot be displayed. The settings of the menu area can be written in a separate file.
blog/_config.volantis.yml
navbar: logo:# choose [img] or [icon + title] img: icon: title: menu: # The following can be written in `blog/source/_data/menu.yml` -name:blog icon:fasfa-rss url:/ -name:category icon:fasfa-folder-open url:categories/ -name:label icon:fasfa-tags url:tags/ -name:archive icon:fasfa-archive url:archives/ -name:Friendschain icon:fasfa-link url:friends/ -name:About icon:fasfa-info-circle url:about/ search:search# Search bar placeholder
use data file
It is recommended to create a new file to store the configuration of the navigation bar menu. The path of the file is:
blog/source/_data/menu.yml
The content of the file is:
blog/source/_data/menu.yml
-name:blog icon:fasfa-rss url:/ ...
Menu nesting
The navigation bar menu supports nesting, the nested attribute is named rows, and the writing example:
This is only for communication between users. If you have any questions, please go to GitHub to submit an issue. Asking questions in the comment area will not receive any response from the developer!