Basics on Hugo Relearn Theme https://McShelby.github.io/hugo-theme-relearn/basics/ Recent content in Basics on Hugo Relearn Theme Hugo -- gohugo.io en What's new https://McShelby.github.io/hugo-theme-relearn/basics/migration/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/migration/ This document shows you what’s new in the latest release. For a detailed list of changes, see the history page. Breaking: A change that requires action by you after upgrading to assure the site is still functional. Change: A change in default behavior. This may requires action by you / may or may not be revertable by configuration. New: Marks new behavior you might find interesting or comes configurable. 4.0.0 Breaking: The custom_css config parameter was removed from the configuration. Requirements https://McShelby.github.io/hugo-theme-relearn/basics/requirements/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/requirements/ Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements. Just download latest version of Hugo binary for your OS (Windows, Linux, Mac) : it’s that simple. Installation https://McShelby.github.io/hugo-theme-relearn/basics/installation/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/installation/ The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you learn more about it by following this great documentation for beginners. Create your project Hugo provides a new command to create a new website. hugo new site <new_project> Install the theme Install the Relearn theme by following this documentation This theme’s repository is: https://github.com/McShelby/hugo-theme-relearn.git Alternatively, you can download the theme as . Configuration https://McShelby.github.io/hugo-theme-relearn/basics/configuration/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/configuration/ Global site parameters On top of Hugo global configuration, the Relearn theme lets you define the following parameters in your config.toml (here, values are default). Note that some of these parameters are explained in details in other sections of this documentation. [params] # This controls whether submenus will be expanded (true), or collapsed (false) in the # menu; if no setting is given, the first menu level is set to false, all others to true; # this can be overridden in the pages frontmatter alwaysopen = true # Prefix URL to edit current page. Customization https://McShelby.github.io/hugo-theme-relearn/basics/customization/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/customization/ The Relearn theme has been built to be as configurable as possible by defining multiple partials In themes/hugo-theme-relearn/layouts/partials/, you will find all the partials defined for this theme. If you need to overwrite something, don’t change the code directly. Instead follow this page. You’d create a new partial in the layouts/partials folder of your local project. This partial will have the priority. This theme defines the following partials : header.html: the header of the page. Stylesheet generator https://McShelby.github.io/hugo-theme-relearn/basics/generator/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/generator/ This interactive tool may help you to generate your own color variant stylesheet. To get started, first select a color variant from the variant switch that fits you best as a starting point. The graph is interactive and reflect the current colors. You can click on any of the colored boxes to adjust the respective color. The graph and the page will update accordingly. The arrowed lines reflects how colors are inherited thru different parts of the theme if the descendent isn’t overwritten. History https://McShelby.github.io/hugo-theme-relearn/basics/history/ Mon, 01 Jan 0001 00:00:00 +0000 https://McShelby.github.io/hugo-theme-relearn/basics/history/ Changelog 4.0.4 (2022-06-07) Enhancements [feature] theme: improve keyboard navigation for scrolling #268 Fixes [bug] swagger: adjust font-size for method buttons #267 [bug] menu: hide expander when only hidden subpages #264 [bug] theme: make compatible with Hugo 0.100.0 #263 Maintenance [task] swagger: update rapidoc to 9.3.2 #266 [task] mermaid: update to 9.1.1 #265 4.0.3 (2022-06-05) Enhancements [feature] toc: add scrollbar #262 4.0.2 (2022-06-05) Fixes [bug] theme: let browser scroll page on CTRL+f #242 4.