A theme for Hugo designed for documentation
The Hugo Relearn Theme is a theme designed for documentation purposes. It is a fork of the original Learn theme, with the aim of fixing bugs and adapting to the latest features of Hugo. The theme offers a wide range of features, including a responsive design for mobile usage, support for offline usage, compatibility with VSCode Front Matter extension for on-premise CMS capabilities, support for Internet Explorer 11, configurable theming and visuals, and automatic switching between light and dark variants based on the user’s OS settings. It also provides support for multiple languages, search functionality, and additional markdown features such as GFM and image styling. The theme is highly customizable and offers various tools for displaying files, creating diagrams, and including other elements in the documentation.
To install and use the Hugo Relearn Theme, follow these steps:
git submodule add https://github.com/Author/Relearn-theme.git themes/relearn
config.toml
file and set the theme
variable to "relearn"
:theme = "relearn"
Customize the theme’s settings by modifying the config.toml
file. You can refer to the theme’s official documentation for more details on the available configurations.
Build and view your site using the following command:
hugo serve
You should now be able to view your site with the Hugo Relearn Theme applied.
The Hugo Relearn Theme is a feature-rich theme designed specifically for documentation purposes. It offers a wide range of features, including responsive design, offline usage, customizable theming, multi-language support, and various additional markdown features. The theme is highly configurable and provides tools for displaying files, creating diagrams, and including other elements in the documentation. With its comprehensive set of features, the Hugo Relearn Theme is a powerful choice for anyone looking to create documentation sites using Hugo.