A Jekyll plugin to pull the page title from the first Markdown heading when none is specified. If you have a Jekyll page that doesn't have a title specified in the YAML Front Matter, but the first non-whitespace line in the page is a Markdown H1 / H2 / H3, this plugin instructs Jekyll to use that first heading as the page's title.
Features
- Configuration options are optional and placed in _config.yml under the titles_from_headings key
- If you want to enable this plugin for collection items, set the collections option to true
- If your theme renders titles based on page.title, you can remove the title from the content by setting strip_title to prevent rendering it twice
- Pull the page title from the first Markdown heading when none is specified
- This plugin instructs Jekyll to use the first heading as the page's title
- If you're using a plugin like Jekyll Optional Front Matter, you'd have to add Front Matter
Categories
Web DesignLicense
MIT LicenseFollow Jekyll Titles from Headings
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll Titles from Headings!