pelican/RELEASE.md
Matěj Cepl 9ed0eb1c0c
Add HEADING_METADATA feature for Markdown title extraction
Previously, Markdown files without explicit 'Title:' metadata would fail
to get titles extracted from their first heading, unlike RST files which
support both metadata and heading-based title extraction.

New Configuration Options:
- HEADING_METADATA: Enable/disable heading metadata extraction
- HEADING_METADATA_MAP: Map heading levels to metadata fields
- HEADING_METADATA_PATTERNS: Custom regex patterns for extraction

Resolves issue where markdown files like:

    Date: 2023-12-01
    Category: tech

    # My Article Title

Can now have titles extracted without manual Title: metadata.

Fixes also the issue where Markdown articles showed duplicate titles
when HEADING_METADATA=True was set in configuration.

References: https://github.com/getpelican/pelican/discussions/3290
Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
2026-05-02 15:15:55 +02:00

147 B

Release type: minor

Added HEADING_METADATA feature for extracting metadata from Markdown headings using configurable patterns and level mappings.