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

Project Samples

Project Activity

See All Activity >

Categories

Web Design

License

MIT License

Follow Jekyll Titles from Headings

Jekyll Titles from Headings Web Site

Other Useful Business Software
$300 in Free Credit Across 150+ Cloud Services Icon
$300 in Free Credit Across 150+ Cloud Services

VMs, containers, AI, databases, storage | build anything. No commitment to start.

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.
Start Building Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jekyll Titles from Headings!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Web Design Software

Registered

2023-09-11