get_article_title

docblock
get_article_title(filepath::String) -> String

Extract the title from an article’s YAML frontmatter or first header.

Arguments

  • filepath::String: Path to the .qmd file

Returns

The article title, or the filename (without extension) as fallback.