Solitude Docs

Front Matter

Control Solitude posts and pages with verified Hexo and theme fields.

Front Matter is the YAML block at the beginning of a Markdown source file. Hexo owns common metadata; Solitude reads additional display fields.

---
title: Hello Solitude
date: 2026-01-01 10:00:00
updated: 2026-01-02 12:00:00
description: Notes from a Solitude 4 upgrade.
tags: [Hexo, Solitude]
categories: [Blog]
cover: /img/covers/hello.jpg
locate: Shanghai
comment: true
toc: true
aside: true
katex: false
color: "#425AEF"
---

Fields used by Solitude

  • cover supplies the post card and header image; without it, post.default.cover is used.
  • description becomes the post excerpt and is also useful for metadata.
  • locate overrides post.default.locate.
  • comment: false disables comments for the page even when a provider is configured.
  • toc and aside override the theme defaults for this document.
  • katex: true loads KaTeX when global per-page loading is disabled.
  • color supplies a fixed page color for cover-color modes that support it.
  • ai_text supplies local article summary text when post.ai.enable is on.

Feature pages also use type, data, banner, and page-specific fields documented in their own guides. Use comment, not comments.