0.8.0-alpha • Published 1 year ago

@markdumay/hugo-theme-hinode v0.8.0-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Hugo Theme Hinode

About

Logo

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 uses Node Package Manager to automate the build process and to keep track of dependencies.

Additional features include:

  • Comments
  • Social links
  • Blog pagination
  • Code highlighting
  • Command prompt
  • Color customization
  • Language switcher

Prerequisites

Hinode requires Git, Node.js and npm for local development and testing. Download the Git binary from the official website. Next, download and install Node.js (it includes npm) for your platform.

Installation

Start a new Hinode project in three steps:

1. Create a new site

Hinode is available as a child theme, and a main theme. The child theme uses npm to link to the latest available version of Hinode. As such, it is less applicable if you plan to customize a lot. Vice versa, the main theme allows for heavy customization, but is not synchronized with the latest available Hinode theme automatically.

Not quite sure? Use the Hinode child theme.

Hinode child theme

git clone https://github.com/markdumay/hugo-theme-hinode-child.git my-hinode-site && cd my-hinode-site

Hinode main theme

git clone https://github.com/markdumay/hugo-theme-hinode.git my-hinode-site && cd my-hinode-site

2. Install dependencies

npm install

3. Start development server

npm run start

Configuration

The main site configuration is available in ./config/_default. Some remarks:

  • Menu items - menus/menus.en.toml contains language-specific items for the navigation bar and social media links for the home page's footer.
  • Content - Ensure the mainSections in config.toml is synchronized with the content folder, default values are ["blog", "projects"].
  • Theme style - Update primary and themeOpacity within the [style] section of params.toml to update the site's primary color and opacity. Bootstrap's other key colors can be changed too. You can use the WCAG Color Contrast Checker to validate the contrast ratio of your color to improve accessibility. Additionally, set themeFont and themeFontPath to override the default font.
  • Comments - Comments are powered by utterances, a lightweight comments widget built on GitHub issues. Update the repo of the [comments] section of params.toml.
  • Security policy - The theme uses rather strict security policies by default. Be sure to include references to external sources in the header configuration to avoid broken links. The settings of the local development server are defined in server.toml. Similar settings are defined in the netlify.toml file provided in the repository's root when deploying to Netlify.

Contributing

  1. Clone the repository and create a new branch

    git checkout https://github.com/markdumay/hugo-theme-hinode.git -b name_for_new_branch
  2. Make and test the changes

  3. Submit a Pull Request with a comprehensive description of the changes

Credits

Hinode is inspired by the following themes:

  • Blist - a clean and fast blog theme for your Hugo site using Tailwind CSS.
  • Doks - a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize.

Donate

License

The hugo-theme-hinode and hugo-theme-hinode-child codebase is released under the MIT license. The documentation (including the "README") is licensed under the Creative Commons (CC BY-NC 4.0) license.

0.7.9

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.8

1 year ago

0.7.7

1 year ago

0.8.0-alpha

1 year ago

0.7.2

1 year ago

0.5.4

1 year ago

0.7.1

1 year ago

0.5.3

2 years ago

0.7.4

1 year ago

0.7.3

1 year ago

0.5.5

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.6

2 years ago

0.5.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.1.0

2 years ago