Solitude Docs

Gallery Page

Organize image albums with index pages and album detail pages.

Purpose

Organize image albums with index pages and album detail pages.

Create the page

Create a page under source/gallery/index.md and set a clear title.

---
title: Gallery Page
date: 2026-01-01
type: gallery
---

Create the data file

Put repeatable content in source/_data/gallery.yml.

items:
  - name: Example item
    description: Replace this with your own content.
    link: https://example.com

Theme configuration

Enable the page module in the theme configuration when the feature requires a switch.

pages:
  gallery:
    enable: true
    data: gallery.yml

File structure

Blog Directory
source
_data
gallery.yml
gallery
index.md

Field reference

  • name: display name.
  • description: short explanatory text.
  • link: optional external or internal URL.
  • cover: optional image path when the page layout supports covers.
  • tags: optional labels used for grouping or filtering.

Start with one or two items, confirm the page renders, then expand the data file.