@@ -14,12 +14,45 @@ jobs:
1414 build :
1515 uses : potherca/hugo-build/.github/workflows/hugo-build.yaml@main
1616 with :
17- # Use README.md files as folder index
17+ # # Use README.md files as folder index
1818 build-readme-as-index : true
19- # Configuration for in the root of the Hugo config.
19+ # # Import Hugo module of the "Relearn" theme
20+ config-module-imports : |
21+ { "path": "github.com/McShelby/hugo-theme-relearn" }
22+ # # Module mount configuration. Can be used to add files in specific places
23+ # # For a full list of options see:
24+ # # https://gohugo.io/configuration/module/#mounts
25+ # config-module-mounts: |
26+ # { "source": "path/to/file/in/repo", "target": "path/in/url" }
27+ # # Theme specific configuration. For a full list of options see:
28+ # # https://mcshelby.github.io/hugo-theme-relearn/configuration/reference/
29+ config-params : |
30+ "alwaysopen": false,
31+ "collapsibleMenu": true,
32+ "disableGeneratorVersion": true,
33+ "disableInlineCopyToClipBoard": true,
34+ "disableLandingPageButton": true,
35+ "themeVariant": [ "auto", "zen-dark", "zen-light" ]
36+ # # Configuration for in the root of the Hugo config.
37+ # # For a full list of options see: https://gohugo.io/configuration/all/
2038 config-root-keys : |
39+ "disableHugoGeneratorInject": true,
2140 "languageCode": "en-us",
41+ "markup": { "goldmark": { "renderer": { "unsafe": true } } },
2242 "title": "Muze Documentation"
43+ # # Custom CSS
44+ css : |
45+ /* Avoid Duplicate titles */
46+ h1:has(+ h1),
47+ /* Remove the "Built with Hugo" link */
48+ aside p:has(a[title="love"]) {
49+ display: none;
50+ }
51+ # # Docker image to use for building the Hugo site
52+ # # (loaded from GitHub Container Registry, instead of Docker Hub)
53+ docker-image : ghcr.io/hugomods/hugo:std-go-git
54+ # # Path to build the Hugo site from, defaults to ./
55+ # path: ./
2356
2457 deploy :
2558 environment :
0 commit comments