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.1.0 Change: Because the print preview URLs were non deterministic for normal pages in comparison to page bundles, this is now 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.1.1 (2022-07-15) Fixes [bug] tags: don’t count tags if page is hidden #310 5.1.0 (2022-07-15) Enhancements [feature][change] print: make print url deterministic #309 [feature] theme: allow overriding partials for output formats #308 5.0.3 (2022-07-07) Fixes [bug] ie11: no styles after rework of archetypes #306 5.0.2 (2022-07-07) Fixes [bug] theme: load CSS if JS is disabled #305 5.0.1 (2022-07-07) Enhancements [feature][breaking] theme: optimize loading of js and css #303 5.