Skeleton is a surprisingly concise theme for Hugo, which is a demo.
Skelton consists of tiny resources, providing the following essential features;
- Responsive design
- Widgetized sidebar
- LESS size within 500 lines
- Just four colors in the theme
- No JavaScript
Skeleton's simple structure allows for easy customization of your preferences using a fork.
Hugo ver 0.111.2
cd themes ## If lack of the directory, create it.
git submodule add https://github.com/fukugit/skeleton.git
Open 'config.toml' in the base of the Hugo site and set like below.
theme = "skeleton"
To run your Hugo with Skeleton, execute the following command.
hugo server
If this project is updated while using it in your Hugo blog, you can run the below command to update the latest version.
git submodule update --recursive
Move your current directory then execute the below commands.
git submodule deinit -f themes/skeleton
git rm -f themes/skeleton
rm -rf .git/modules/themes/skeleton
The demo page in this page got deployed using GitHub Actions. You can see the GitHub Actions setting file here. The following is the setting of GitHub Actions and GitHub Pages on GitHub.
- Creat directory that is
.github/workflows
. If already existing, skip it. - Copy github-pages.yml into the
.github/workflows
directory. - Set GitHub page like the below.
- To build the page with the above GitHub Actions, push something at the main branch.