Introduction
Get started with Hinode, a clean documentation and blog theme for your Hugo site based on Bootstrap 5.
Hinode is a clean documentation and blog theme for Hugo - an open-source static site generator. Based on the Bootstrap 5 framework, the rendered site is fast, secure, and responsive. Hinode uses FlexSearch to enable full text search across your site. Finally, the theme provides optional support for Node Package Manager (npm) to automate the build process and to keep track of dependencies. More information is available on the about page.
Hinode requires the following software to be installed on your local machine:
You can choose to use either Hugo or npm for local development and testing. The npm configuration includes an embedded Hugo binary.
Hinode is available as a template and as a main theme. The template uses Hugo modules to link to the latest available version of the main Hinode theme. Unless you plan to customize a lot, it is recommended to use the template. You can use either Hugo or npm to create a new site.
Create a new site
Use the Hinode template (recommended):
git clone https://github.com/gethinode/template.git my-hinode-site && cd my-hinode-site
Use the main theme if you intend to customize the base code:
git clone https://github.com/gethinode/hinode.git my-hinode-site && cd my-hinode-site
Install dependencies
hugo mod get -u ./... && hugo mod tidy
Start the development server
hugo server
Create a new site
Use the Hinode template (recommended):
git clone https://github.com/gethinode/template.git my-hinode-site && cd my-hinode-site
Use the main theme if you intend to customize the base code:
git clone https://github.com/gethinode/hinode.git my-hinode-site && cd my-hinode-site
Install dependencies
npm install && npm run mod:update
Start the development server
npm run start
Hinode contains sample content for a blog and a project portfolio. The examples are available in English and Dutch and can be found in the content
folder. Review the following items on to how organize and enrich your content.
The main site configuration is available in ./config/_default
. Review the following items to get you started.
style
section of /config/_default/params.toml
. Review the colors documentation for more details.themeFont
and themeFontPath
in the style
section of /config/_default/params.toml
to adjust the main font. Hinode includes supports for Emoji by default. Review the fonts documentation for more details.config/_default/languages.toml
. Set the default behavior in config/_default/hugo.toml
. Review the languages documentation for more details.config/_default/menus
. For example, the English menu entries are defined in menus.en.toml
. See the navigation documentation for more details.The next topics give an overview of the advanced configuration settings.
assets/scss/app.scss
. See the styles documentation for more details.config/_default/server.toml
. Similar settings are defined in the netlify.toml
file provided in the repository’s root when deploying to Netlify. See the server documentation for more details.