github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 350 forks source link

Page title is set incorrectly. #836

Open majkrzak opened 2 years ago

majkrzak commented 2 years ago

When page title is omitted in the front matter it is incorrectly defaulted to the first text of the content.

majkrzak commented 2 years ago

This can be solved by disabling [jekyll-titles-from-headings](https://github.com/benbalter/jekyll-titles-from-headings) plugin, which for some awkward reason is always enabled and can not be disabled.

GitHub Pages uses plugins that are enabled by default and cannot be disabled: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#plugins