docusaurus-h1-metainfo-develop

Render creation date, last updated date, and author under H1 titles in Docusaurus v3.x pages.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Takazudo/claude-resources --skill docusaurus-h1-metainfo-develop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docusaurus-h1-metainfo-develop
Source: https://github.com/Takazudo/claude-resources/tree/main/skills/docusaurus-h1-metainfo-develop
Command: npx skills add https://github.com/Takazudo/claude-resources --skill docusaurus-h1-metainfo-develop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Displays creation date, last updated date, and author under the H1 title in Docusaurus documentation pages to provide immediate context about a page’s provenance and recency.

Core Features & Use Cases

  • SSR-friendly Doc metadata: injects creation date, last updated date, and author into the DocItem UI between the h1 and content.
  • Automates metadata extraction via a custom remark plugin and Docusaurus config integration, so pages display metadata without JavaScript.
  • Supports projects with or without git history and provides graceful fallbacks; includes a swizzled DocItem/Content component and CSS styling.

Quick Start

Configure your Docusaurus project to show git metadata, install and configure the plugin, add the swizzled DocItem component and CSS, and verify metadata renders under page titles.

Frequently Asked Questions about docusaurus-h1-metainfo-develop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display creation date and author under H1 titles in Docusaurus?

Display creation date and author under H1 titles in Docusaurus by registering a custom remark plugin for git metadata extraction and swizzling the DocItem component to render the data via SSR without client-side JavaScript.

Does Docusaurus support server-side rendering for document metadata without JavaScript?

Docusaurus supports SSR for document metadata by swizzling the DocItem Content component, allowing creation date, last updated date, and author to render on the server without relying on client-side JavaScript.

Can I show git metadata like last updated time in Docusaurus v3 TypeScript projects?

You can show git metadata in Docusaurus v3 TypeScript projects by enabling showLastUpdateTime and showLastUpdateAuthor in docusaurus.config.ts and adding a custom remark plugin for creation date extraction.

How do I extract creation date from git history for Docusaurus documentation pages?

Extract creation date from git history for Docusaurus pages using a custom remark plugin that reads git metadata and passes it to a swizzled DocItem component for rendering under the H1 title.

What happens to Docusaurus metadata rendering when git history is unavailable?

Docusaurus metadata rendering provides graceful fallbacks when git history is unavailable, ensuring documentation pages still render correctly without creation date or author metadata.