Closed hongyi-huang closed 4 years ago
The first has been solved by stripping head spaces in front matter.
For your second inquiry,
The index.html
in the project's root directory is the default page, add your content there and it will be displayed whenever you navigate to username.github.io
_(as long as you have the baseurl
empty in your _config.yml
file)_.
Another way to achieve this, if you want to name your default file home.md
instead of index.html
or move it to a subfolder like pages/index.html
, will be by setting the permalink
to "/"
in your front matter:
---
layout: default
permalink: /
---
You would be highly appreciated if you could offer more support for the following issues.