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 2
2
[module ]
3
3
[module .hugoVersion ]
4
4
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"
63
63
getenv = [" ^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$" ]
64
64
65
65
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
+
66
75
[markup ]
67
- # I've configured markdown so you don't have to
68
76
[markup .tableOfContents ]
69
77
endLevel = 2
70
78
ordered = true
71
79
startLevel = 2
80
+ [markup .goldmark ]
72
81
[markup .goldmark .renderer ]
73
- # Enable HTML codeblocks, e.g. for <details> blocks
74
82
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$"]
59
59
[module .hugoVersion ]
60
60
extended = true
61
61
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/"
9
9
# because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
10
10
[page ]
11
11
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/"
5
5
[module ]
6
6
[[module .imports ]]
7
7
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"
19
19
weight = 3
20
20
url = " https://codeyourfuture.io/donate/"
21
21
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
+
22
29
[markup ]
23
- # I've configured markdown so you don't have to
24
30
[markup .tableOfContents ]
25
31
endLevel = 2
26
32
ordered = true
27
33
startLevel = 2
34
+ [markup .goldmark ]
28
35
[markup .goldmark .renderer ]
29
- # Enable HTML codeblocks, e.g. for <details> blocks
30
36
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/"
21
21
target = " content/pd/blocks"
22
22
23
23
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
+
24
31
[markup ]
25
- # I've configured markdown so you don't have to
26
32
[markup .tableOfContents ]
27
33
endLevel = 2
28
34
ordered = true
29
35
startLevel = 2
36
+ [markup .goldmark ]
30
37
[markup .goldmark .renderer ]
31
- # Enable HTML codeblocks, e.g. for <details> blocks
32
38
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"
7
7
[params ]
8
8
googleFonts =" https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"
9
9
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
+
10
17
[markup ]
11
- # I've configured markdown so you don't have to
12
18
[markup .tableOfContents ]
13
19
endLevel = 2
14
20
ordered = true
15
21
startLevel = 2
22
+ [markup .goldmark ]
16
23
[markup .goldmark .renderer ]
17
- # Enable HTML codeblocks, e.g. for <details> blocks
18
24
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/"
24
24
[params ]
25
25
googleFonts =" https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"
26
26
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
+
27
34
[markup ]
28
- # I've configured markdown so you don't have to
29
35
[markup .tableOfContents ]
30
36
endLevel = 2
31
37
ordered = true
32
38
startLevel = 2
39
+ [markup .goldmark ]
33
40
[markup .goldmark .renderer ]
34
- # Enable HTML codeblocks, e.g. for <details> blocks
35
41
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
64
64
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API.
65
65
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos.
66
66
getenv = [" ^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