Skip to content

FinnurHrafn/hugo-bootstrap-5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Bootstrap v5 Theme

This is a simple Hugo theme using Bootstrap v5, inspired by hugo-bootstrap.

Installation

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

Demo

You can find a demo here.

Screenshots

preview preview

Configuration

Check exampleSite/config.toml for an example configuration.

Brand

The brand can be overriden by adding your own layout layouts/partials/brand.html. Check exampleSite/layouts/partials/brand.html for an example.

Menu

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.

Multilanguage

The theme supports multiple languages.

You can find the default translation bundles in i18n (english and spanish by default).

License

Open sourced under the MIT license.

About

A simple hugo theme using Bootstrap 5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 98.8%
  • CSS 1.2%