Closed Cloudifold closed 2 years ago
The problem is due to the lack of configuration file content for the theme. Refer to the official document:
- Rename the
_config.yml.example
to_config.yml
so you can config theme$ cp -f themes/Wikitten/_config.yml.example themes/Wikitten/_config.yml # edit and customize it $ vim themes/Wikitten/_config.yml
To this problem, you can run this command:
$ cp -f themes/Wikitten/_config.yml.example _config.Wikitten.yml
But, we should have mentioned this in the documentation, so I'll update the CONTRIBUTING.md
later.
Describe the bug A html page can't be shown at
localhost:4000
To Reproduce Follow the step of "Submitting a new theme template" in https://github.com/Meta-Network/meta-hexo-starter-custom/blob/main/CONTRIBUTING.md
Create a theme branch.
Edit
install_theme.sh
:Install dependencies:
Create
_config.Wikitten.yml
and delete the existed one. Edit_config.yml
:Test :
Expected behavior A html page can be shown at
localhost:4000
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.