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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Jekyll Titles from Headings!