To better organize all of your pages you can centralize them into a single location. All the pages added in the pages
folder.
Start by placing pages (.md
or .html
files) into a pages
directory. Meaningfully naming files should be the goal. Avoid patterns like /about/index.md
as it makes distinguishing between multiple index.md
files harder.
sample-project
└── pages/
├── 404.md # custom 404 page
├── about.md # about page
└── contact.md # contact page
Select Homepage Layout
This theme has multiple homepage variations.
miles-jekyll
├── index.md
├── index2.md
└── index3.md
└── index4.md
└── index5.md
└── index6.md
If you want to use index4.md
as your website homepage then you have to rename it to index.md
. Don’t forget to rename the previous index file.
Working with header
This theme has a versatile header that can be header 1 to 13 versions.
It can be included as
{% include header/header-default.html %}
Working with footer
This theme has a versatile footer that can be header 1 to 13 versions.
It can be included as
{% include footer/footer-default.html %}