|
|
1 năm trước cách đây | |
|---|---|---|
| .. | ||
| exampleSite | 2 năm trước cách đây | |
| i18n | 2 năm trước cách đây | |
| images | 2 năm trước cách đây | |
| layouts | 1 năm trước cách đây | |
| static | 2 năm trước cách đây | |
| LICENSE.md | 2 năm trước cách đây | |
| README.md | 2 năm trước cách đây | |
| go.mod | 2 năm trước cách đây | |
| theme.toml | 2 năm trước cách đây | |
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 brand can be overriden by adding your own layout layouts/partials/brand.html. Check exampleSite/layouts/partials/brand.html for an example.
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.