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. 5.5.0 Change: The way images are processed has changed. 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 5.4.3 (2022-11-05) Enhancements [feature] history: refactor for a11y #341 Fixes [bug] theme: fix multilang links when site served from subdirectory #370 5.4.2 (2022-11-05) Maintenance [task] build: change set-output to env vars #348 5.4.1 (2022-11-05) Fixes [bug] mermaid: fix Gantt chart width #365 5.4.0 (2022-11-01) Enhancements [feature] math: allow passing of parameters with codefence syntax #363 [feature] i18n: add Finnish translation #361 [feature] mermaid: allow passing of parameters with codefence syntax #360 [feature] i18n: support RTL #357 [feature][change] button: add option for target #351 [feature][change] theme: allow to be served by file:// protocol #349 5.