I am using Minimal Mistake theme, with markdown pages that start with a heading, as follows:
# Introduction Blah, blah, blah
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 front matter block.
--- title: Introduction --- Blah, blah, blah
but, I really prefer not using front matter blocks, if only because they do not appear nicely on my Github page.
Hosting on github:
The following page uses the front matter block and looks good on the website, but not on Github:
The following page does not use YAML and looks good on Github but not on the website:
Ideally I would be able to add something to my _config.yml file to suppress the double heading.
I already asked on the Minimal Mistakes pages, but they suggest it is a more general Jekyl issue.
Steps to reproduce the behavior
I don’t think there is an error to reproduce. Just me looking for a way to let my pages appear nicely on simultaneously on Github and in the Minimal Mistakes theme.