SyuanYu 23b9bcd3d8 commit | hai 1 ano | |
---|---|---|
.. | ||
exampleSite | hai 1 ano | |
i18n | hai 1 ano | |
images | hai 1 ano | |
layouts | hai 1 ano | |
static | hai 1 ano | |
.gitignore | hai 1 ano | |
LICENSE.md | hai 1 ano | |
README.md | hai 1 ano | |
go.mod | hai 1 ano | |
theme.toml | hai 1 ano |
This is a simple Hugo theme using Bootstrap v5, inspired by hugo-bootstrap.
You can install the theme either as a clone or submodule.
I recommend the latter. From the root of your Hugo site, type the following:
$ git submodule add https://github.com/NotWoods/hugo-bootstrap-5.git themes/hugo-bootstrap-5
$ git submodule init
$ git submodule update
Now you can get updates to the theme in the future by updating the submodule:
$ git submodule update --remote themes/hugo-bootstrap-5
You can find a demo here.
Check exampleSite/config.toml
for an example configuration.
The navbar displays the main
menus by default. You can find more details about how to configure it here, as well as in the exampleSite
.
The theme supports multiple languages.
You can find the default translation bundles in i18n
(english and spanish by default).
Open sourced under the MIT license.