I want to remove the large hero header for a particular page inside my GitHub pages site.
I know how to customize the themes layout, however I only want to customize the layout for a particular page.
Ex:
README.md
: the "home page" aka /
. I do NOT want to customizecredits.md
: the credits page at /credits
. I do NOT want to customize.help.md
: the help page at /help
. I DO want to customize. I want to remove the header.I'd like to do something like /assets/css/help-style.scss
---
---
@import "{{ site.theme }}";
header {
display: none;
}
The easiest way would be to just define a new layout for your help.md
layout
currently used by help.md
(say, page.html
)help.html
(path: _layouts/help.html
)Use layout: help
in the front matter of help.md
:
---
layout: help
---