Description: The Hugo shell (wrapper) module for themes by
Wild Tech 'Garden' (WTG)
Site: https://www.wild-theme-shell.wtg-demos.ca/
Repository: https://github.com/wildtechgarden/wild-theme-shell-mod-hugo
CI Status:
Primarily designed as a skeleton with 'hooks' to be supplied by the consumer of this shell (e.g. can be site-specific or used by a theme that extends the shell).
See Extension (the hooks), below.
The skeleton has defaults for the 'hooks' that are sufficient to allow you to use this project as a minimal theme for websites.
See Usage, below.
The HTML in the skeleton defaults to no classes on the elements by default, but accepts parameters to override this behaviour (often can be site-wide or per-page, or site-wide with page overrides, as you choose).
- Defaults to mobile menu as header until on larger screens
- Includes a selection of starter colour schemes
- Includes styles for reasonable printed output
-
Initialize the Hugo module system:
hugo mod init github.com/<your_user>/<your_project>
; (assuming you are using GitHub, of course). -
Import the theme in your
hugo.toml
[module] [[module.imports]] path = "github.com/wildtechgarden/wild-theme-shell-mod-hugo"
-
Get the module
hugo mod get github.com/wildtechgarden/wild-theme-shell-mod-hugo
-
To test the result, run the local Hugo server
hugo server -b http://localhost:1313/
-
Make a themes directory and switch to it.
mkdir themes cd themes
-
In the themes directory, add wild-theme-shell-mod-hugo as a submodule
git submodule add -f https://github.com/wildtechgarden/wild-theme-shell-mod-hugo.git
-
Change back to the site directory
-
To test the result, run the local Hugo server
hugo server -t wild-theme-shell-mod-hugo -b http://localhost:1313/
Enjoy!
Copyright © 2023 Wild Tech 'Garden'
Released under an MIT License