Hugo Bootstap Theme(HBS) is a fast, responsive, multipurpose and feature-rich Hugo theme. It is used for blog and document sites typically.
By default, a site using this theme has the default fonts, colors, and general look and feel. However, the default scheme cannot satisfy everyone, but don’t worry, you can easily override the theme defaults, such as palette colors, fonts, syntax highlighting.
This article refers to the traditional installation method of cloning the theme locally as Git submodule. It describes how to install, upgrade the theme, and write new articles. While this installation method is still widely used, we recommend to install the theme as Hugo module. Installation# Create a New Site from...
Please make sure you meet the prerequisites prior to installing the theme.
This article refers to the modern, up-to-date installation method of installing the theme locally as Hugo module. It describes how to install, upgrade the theme, and write new articles. Proxy (optional)# If you’re located at China mainland without VPN, the Hugo module download may fail. There are two proxies for this:...
The starter template for newbie.
We predefined two types of menus: main
and footer
, represents the top app bar menus and the footer menus, respectively.
This article will briefly introduce how to use the menus.
Main Sections# The mainSections parameter is used to filter pages, default to ["posts", "docs"]. 1mainSections = ["blog", "posts", "docs", "notes"] Content Types# You may want to use docs layout in other sections instead of /docs, such as /notes. It’s easy to do that by setting type = "docs" on the front matter....
Page parameters are located in page’s Front Matter.
The site parameters are located in config/_default/params.toml
by default.