mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
parent
55822e8741
commit
47f1f4c2f3
2 changed files with 28 additions and 21 deletions
|
@ -34,27 +34,6 @@ defaultContentLanguage = "en"
|
|||
# the site's title of this showcase; you should change this ;-)
|
||||
title = "Hugo Relearn Documentation"
|
||||
|
||||
# settings specific to this theme's features; choose to your likings and
|
||||
# consult this documentation for explaination
|
||||
[params]
|
||||
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
|
||||
description = "Documentation for Hugo Relearn Theme"
|
||||
author = "Sören Weber"
|
||||
showVisitedLinks = true
|
||||
collapsibleMenu = true
|
||||
disableBreadcrumb = false
|
||||
disableInlineCopyToClipBoard = true
|
||||
disableNextPrev = false
|
||||
disableLandingPageButton = true
|
||||
titleSeparator = "::"
|
||||
themeVariant = [ "relearn-light", "relearn-dark", "learn", "neon", "blue", "green", "red" ]
|
||||
disableSeoHiddenPages = true
|
||||
# this is for the stylesheet generator to allow for interactivity in Mermaid
|
||||
# graphs; you usually will not need it and you should remove this for
|
||||
# security reasons
|
||||
mermaidInitialize = "{ \"securityLevel\": \"loose\" }"
|
||||
additionalContentLanguage = [ "en" ]
|
||||
|
||||
[outputs]
|
||||
# add JSON to the home to support lunr search; This is a mandatory setting
|
||||
# for the search functionality
|
||||
|
@ -170,3 +149,24 @@ title = "Hugo Relearn Documentation"
|
|||
name = "<i class='fas fa-fw fa-tags'></i> Arrr! Tags"
|
||||
url = "tags/"
|
||||
weight = 40
|
||||
|
||||
# settings specific to this theme's features; choose to your likings and
|
||||
# consult this documentation for explaination
|
||||
[params]
|
||||
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
|
||||
description = "Documentation for Hugo Relearn Theme"
|
||||
author = "Sören Weber"
|
||||
showVisitedLinks = true
|
||||
collapsibleMenu = true
|
||||
disableBreadcrumb = false
|
||||
disableInlineCopyToClipBoard = true
|
||||
disableNextPrev = false
|
||||
disableLandingPageButton = true
|
||||
titleSeparator = "::"
|
||||
themeVariant = [ "relearn-light", "relearn-dark", "learn", "neon", "blue", "green", "red" ]
|
||||
disableSeoHiddenPages = true
|
||||
# this is for the stylesheet generator to allow for interactivity in Mermaid
|
||||
# graphs; you usually will not need it and you should remove this for
|
||||
# security reasons
|
||||
mermaidInitialize = "{ \"securityLevel\": \"loose\" }"
|
||||
additionalContentLanguage = [ "en" ]
|
||||
|
|
7
exampleSite/test.bat
Normal file
7
exampleSite/test.bat
Normal file
|
@ -0,0 +1,7 @@
|
|||
set /p version=<..\layouts\partials\version.txt
|
||||
echo %version%>metrics.%version%.txt
|
||||
echo disableAssetsBusting=true>>config.toml
|
||||
echo disableGeneratorVersion=true>>config.toml
|
||||
hugo --templateMetrics --templateMetricsHints --cleanDestinationDir --destination public.%version% >> metrics.%version%.txt
|
||||
move /Y metrics.%version%.txt public.%version%\metrics.txt
|
||||
git restore config.toml
|
Loading…
Reference in a new issue