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
$300 in Free Credit Across 150+ Cloud Services
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll Titles from Headings!