Gallery Page
Learn how to configure the gallery page in the Solitude theme.
This page is implemented using hexo-solitude-tag plugin
Install hexo-solitude-tag plugin
Refer to Global Configuration - Tags Plugin
to install the hexo-solitude-tag
plugin
Configure Gallery Index Page
Open a terminal in the root directory of your Hexo blog and enter the following command to create a new page
This will generate a gallery
folder under the source
directory of your blog, containing an index.md file.
Reference (modify Front Matter as needed):
Syntax: {% galleryGroup 'name' 'desc' 'url' 'img' %}
Configure Gallery Content Page
Create subfolders in the source/gallery
directory of your blog and create index.md
files inside them
For example, create source/gallery/Cat/index.md
with the following content:
Reference (modify Front Matter as needed):
Syntax: {% gallery %} Multiple MD image tags {% endgallery %}
File Structure Reference
You can create more content pages following Configure Gallery Content Page