New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First heading appearing twice #1618
Comments
I think you'll have to use the Setting the I get the reason why you'd want to include the You might want to poke around jekyll/jekyll or ask for suggestions on Jekyll Talk. I have to feel others have hit this (especially those who use Jekyll for site docs). There may even be a way to have Kramdown ignore |
Thank you, I will try these resources. |
Solution is to use jekyll-titles-from-headings plugin to strip |
Thanks, worked for me too! |
Do you know if that should also work for GitHub Pages using minimal-mistakes as remote theme? Somehow I cannot make it work for me. |
move h1 to title, per mmistakes/minimal-mistakes#1618
move h1 to title, per mmistakes/minimal-mistakes#1618 Titles, clean up and light edit
Description
I am using Minimal Mistake with pages that start with a heading, as follows:
The way these pages appear is by showing the first heading twice, i.e. the word "Introduction" big and bold on two consecutive lines.
I know I can avoid this by using a YAML front matter block.
but, I really prefer not using front matter blocks, if only because it does not appear nicely on my Github page.
Environment
Hosting on github:
https://github.com/ahhz/raster/docs
http://ahhz.github.io/raster
The following page uses the YAML front matter and looks good on the website, but not on Github:
http://ahhz.github.io/raster/rationale/
https://github.com/ahhz/raster/blob/master/docs/rationale.md
The following page does not use YAML and looks good on Github but not on the website:
http://ahhz.github.io/raster/examples/example_1/
https://github.com/ahhz/raster/blob/master/docs/examples/example_1.md
Expected behavior
Ideally I can use markdown headings without a YAML front matter block and use the _config.yml file to suppress the double heading.
Steps to reproduce the behavior
I don't think there is an error to reproduce. Just me not understanding the system, or the system not working as I would like it to.
The text was updated successfully, but these errors were encountered: