File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 16
16
- name : Setup Hugo
17
17
uses : peaceiris/actions-hugo@v3
18
18
with :
19
- hugo-version : ' 0.119 .0'
19
+ hugo-version : ' 0.127 .0'
20
20
21
21
- name : Build
22
22
run : |
Original file line number Diff line number Diff line change @@ -9,10 +9,32 @@ assetsDir = "assets"
9
9
[[module .imports ]]
10
10
path = ' github.com/McShelby/hugo-theme-relearn'
11
11
12
+ # The latest upstream version of hugo-theme-relearn needs hugo 0.121.0:
13
+ # https://mcshelby.github.io/hugo-theme-relearn/basics/requirements/index.html
14
+ [module .hugoVersion ]
15
+ min = " 0.121.0"
16
+
12
17
[outputs ]
13
- home = [ " HTML" , " RSS" , " SEARCH" ]
18
+ # Home and section pages should also have a print icon for the print view:
19
+ home = [ " HTML" , " RSS" , " SEARCH" , " PRINT" ]
20
+ section = [ " HTML" , " RSS" , " PRINT" ]
14
21
15
22
[params ]
16
- themeVariant = " red"
23
+ # Enable the theme variant selector, default to auto:
24
+ themeVariant = [
25
+ " auto" ,
26
+ " zen-light" ,
27
+ " zen-dark" ,
28
+ " red" ,
29
+ " blue" ,
30
+ " green" ,
31
+ " learn" ,
32
+ " neon" ,
33
+ " relearn-light" ,
34
+ " relearn-bright" ,
35
+ " relearn-dark"
36
+ ]
37
+ # auto switches between "red" and "zen-dark" depending on the browser/OS dark mode:
38
+ themeVariantAuto = [" red" , " zen-dark" ]
17
39
alwaysopen = false
18
40
collapsibleMenu = true
You can’t perform that action at this time.
0 commit comments