Solitude Docs

SEO

Configure canonical Hexo metadata, Open Graph, verification, robots, and sitemaps.

Canonical metadata

# _config.yml
title: My Blog
subtitle: Notes and projects
description: Articles by Your Name
author: Your Name
url: https://example.com

Use the final production origin. Post titles, descriptions, dates, covers, tags, and categories come from Front Matter.

Open Graph and verification

# _config.solitude.yml
OpenGraph:
  enable: true
  options:
    twitter_card: summary_large_image
    twitter_site: "@example"

verify_site:
  - name: google-site-verification
    content: verification-token
  - name: baidu-site-verification
    content: verification-token

Solitude does not generate robots.txt or sitemap.xml. Install and configure the relevant Hexo generator plugins, then ensure both use the same production url.