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
coversupplies the post card and header image; without it,post.default.coveris used.descriptionbecomes the post excerpt and is also useful for metadata.locateoverridespost.default.locate.comment: falsedisables comments for the page even when a provider is configured.tocandasideoverride the theme defaults for this document.katex: trueloads KaTeX when global per-page loading is disabled.colorsupplies a fixed page color for cover-color modes that support it.ai_textsupplies local article summary text whenpost.ai.enableis on.
Feature pages also use type, data, banner, and page-specific fields documented in their own guides. Use comment, not comments.
