File tree Expand file tree Collapse file tree 12 files changed +160
-43
lines changed Expand file tree Collapse file tree 12 files changed +160
-43
lines changed Original file line number Diff line number Diff line change 22[module ]
33 [module .hugoVersion ]
44 extended = true
5- min = " 0.116.0"
5+ min = " 0.116.0"
6+
7+ [markup ]
8+ [markup .tableOfContents ]
9+ endLevel = 2
10+ ordered = true
11+ startLevel = 2
12+ [markup .goldmark ]
13+ [markup .goldmark .renderer ]
14+ unsafe = true
15+ [markup .goldmark .parser ]
16+ [markup .goldmark .parser .attribute ]
17+ block = true
18+ title = true
Original file line number Diff line number Diff line change @@ -63,20 +63,24 @@ maxAge="6h"
6363getenv = [" ^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$" ]
6464
6565
66+ theme = " common-theme"
67+
68+ # this makes the section nav go the right way
69+ # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
70+ [page ]
71+ nextPrevInSectionSortOrder = ' asc'
72+ nextPrevSortOrder = ' asc'
73+
74+
6675[markup ]
67- # I've configured markdown so you don't have to
6876 [markup .tableOfContents ]
6977 endLevel = 2
7078 ordered = true
7179 startLevel = 2
80+ [markup .goldmark ]
7281 [markup .goldmark .renderer ]
73- # Enable HTML codeblocks, e.g. for <details> blocks
7482 unsafe = true
75-
76- theme = " common-theme"
77-
78- # this makes the section nav go the right way
79- # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
80- [page ]
81- nextPrevInSectionSortOrder = ' asc'
82- nextPrevSortOrder = ' asc'
83+ [markup .goldmark .parser ]
84+ [markup .goldmark .parser .attribute ]
85+ block = true
86+ title = true
Original file line number Diff line number Diff line change @@ -59,3 +59,17 @@ getenv = ["^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$"]
5959 [module .hugoVersion ]
6060 extended = true
6161 min = " 0.133.0"
62+
63+
64+ [markup ]
65+ [markup .tableOfContents ]
66+ endLevel = 2
67+ ordered = true
68+ startLevel = 2
69+ [markup .goldmark ]
70+ [markup .goldmark .renderer ]
71+ unsafe = true
72+ [markup .goldmark .parser ]
73+ [markup .goldmark .parser .attribute ]
74+ block = true
75+ title = true
Original file line number Diff line number Diff line change @@ -9,4 +9,17 @@ baseURL = "https://guides.codeyourfuture.io/"
99# because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
1010[page ]
1111 nextPrevInSectionSortOrder = ' asc'
12- nextPrevSortOrder = ' asc'
12+ nextPrevSortOrder = ' asc'
13+
14+ [markup ]
15+ [markup .tableOfContents ]
16+ endLevel = 2
17+ ordered = true
18+ startLevel = 2
19+ [markup .goldmark ]
20+ [markup .goldmark .renderer ]
21+ unsafe = true
22+ [markup .goldmark .parser ]
23+ [markup .goldmark .parser .attribute ]
24+ block = true
25+ title = true
Original file line number Diff line number Diff line change @@ -5,3 +5,17 @@ baseURL = "https://curriculum.codeyourfuture.io/"
55[module ]
66 [[module .imports ]]
77 path = " github.com/CodeYourFuture/curriculum/org-cyf-theme"
8+
9+
10+ [markup ]
11+ [markup .tableOfContents ]
12+ endLevel = 2
13+ ordered = true
14+ startLevel = 2
15+ [markup .goldmark ]
16+ [markup .goldmark .renderer ]
17+ unsafe = true
18+ [markup .goldmark .parser ]
19+ [markup .goldmark .parser .attribute ]
20+ block = true
21+ title = true
Original file line number Diff line number Diff line change @@ -19,18 +19,22 @@ description="Meet the world of tech in 30 days"
1919 weight = 3
2020 url = " https://codeyourfuture.io/donate/"
2121
22+ # this makes the section nav go the right way
23+ # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
24+ [page ]
25+ nextPrevInSectionSortOrder = ' asc'
26+ nextPrevSortOrder = ' asc'
27+
28+
2229[markup ]
23- # I've configured markdown so you don't have to
2430 [markup .tableOfContents ]
2531 endLevel = 2
2632 ordered = true
2733 startLevel = 2
34+ [markup .goldmark ]
2835 [markup .goldmark .renderer ]
29- # Enable HTML codeblocks, e.g. for <details> blocks
3036 unsafe = true
31-
32- # this makes the section nav go the right way
33- # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
34- [page ]
35- nextPrevInSectionSortOrder = ' asc'
36- nextPrevSortOrder = ' asc'
37+ [markup .goldmark .parser ]
38+ [markup .goldmark .parser .attribute ]
39+ block = true
40+ title = true
Original file line number Diff line number Diff line change @@ -21,18 +21,22 @@ baseURL = "https://launch.codeyourfuture.io/"
2121 target = " content/pd/blocks"
2222
2323
24+ # this makes the section nav go the right way
25+ # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
26+ [page ]
27+ nextPrevInSectionSortOrder = ' asc'
28+ nextPrevSortOrder = ' asc'
29+
30+
2431[markup ]
25- # I've configured markdown so you don't have to
2632 [markup .tableOfContents ]
2733 endLevel = 2
2834 ordered = true
2935 startLevel = 2
36+ [markup .goldmark ]
3037 [markup .goldmark .renderer ]
31- # Enable HTML codeblocks, e.g. for <details> blocks
3238 unsafe = true
33-
34- # this makes the section nav go the right way
35- # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
36- [page ]
37- nextPrevInSectionSortOrder = ' asc'
38- nextPrevSortOrder = ' asc'
39+ [markup .goldmark .parser ]
40+ [markup .goldmark .parser .attribute ]
41+ block = true
42+ title = true
Original file line number Diff line number Diff line change @@ -7,18 +7,22 @@ title = "CYF Piscine"
77[params ]
88googleFonts =" https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"
99
10+ # this makes the section nav go the right way
11+ # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
12+ [page ]
13+ nextPrevInSectionSortOrder = ' asc'
14+ nextPrevSortOrder = ' asc'
15+
16+
1017[markup ]
11- # I've configured markdown so you don't have to
1218 [markup .tableOfContents ]
1319 endLevel = 2
1420 ordered = true
1521 startLevel = 2
22+ [markup .goldmark ]
1623 [markup .goldmark .renderer ]
17- # Enable HTML codeblocks, e.g. for <details> blocks
1824 unsafe = true
19-
20- # this makes the section nav go the right way
21- # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
22- [page ]
23- nextPrevInSectionSortOrder = ' asc'
24- nextPrevSortOrder = ' asc'
25+ [markup .goldmark .parser ]
26+ [markup .goldmark .parser .attribute ]
27+ block = true
28+ title = true
Original file line number Diff line number Diff line change @@ -24,17 +24,22 @@ baseURL = "https://sdc.codeyourfuture.io/"
2424[params ]
2525googleFonts =" https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"
2626
27+ # this makes the section nav go the right way
28+ # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
29+ [page ]
30+ nextPrevInSectionSortOrder = ' asc'
31+ nextPrevSortOrder = ' asc'
32+
33+
2734[markup ]
28- # I've configured markdown so you don't have to
2935 [markup .tableOfContents ]
3036 endLevel = 2
3137 ordered = true
3238 startLevel = 2
39+ [markup .goldmark ]
3340 [markup .goldmark .renderer ]
34- # Enable HTML codeblocks, e.g. for <details> blocks
3541 unsafe = true
36- # this makes the section nav go the right way
37- # because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
38- [page ]
39- nextPrevInSectionSortOrder = ' asc'
40- nextPrevSortOrder = ' asc'
42+ [markup .goldmark .parser ]
43+ [markup .goldmark .parser .attribute ]
44+ block = true
45+ title = true
Original file line number Diff line number Diff line change @@ -64,3 +64,17 @@ maxAge = 0
6464# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API.
6565# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos.
6666getenv = [" ^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$" ]
67+
68+
69+ [markup ]
70+ [markup .tableOfContents ]
71+ endLevel = 2
72+ ordered = true
73+ startLevel = 2
74+ [markup .goldmark ]
75+ [markup .goldmark .renderer ]
76+ unsafe = true
77+ [markup .goldmark .parser ]
78+ [markup .goldmark .parser .attribute ]
79+ block = true
80+ title = true
You can’t perform that action at this time.
0 commit comments