forked from CodeYourFuture/curriculum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
59 lines (51 loc) · 1.83 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
baseURL = "/"
title = "Our Platform"
sectionPagesMenu = "main"
enableEmoji = true
defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = false
[languages]
[languages.en]
contentDir = 'content/en'
languageCode = 'en-GB'
languageName = 'English'
[menus]
[[menus.secondary]]
name = "Menu 1 👈🏾"
weight = 1
url = ""
[[menus.secondary]]
name = "Menu 2 👋🏿"
weight = 2
url = ""
[[menus.secondary]]
name = "Menu 3 🫶🏼"
weight = 3
url = ""
[params]
googleFonts="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"
description = "A free and open source software development programme."
# main_website = ""
# main_org_name = "eg Code Your Future"
# our_name = "alias for in text replacement"
# org = "https://github.com/YOUR_ORG_HERE"
# repo = "https://github.com/YOUR_ORG_HERE/YOUR_REPO/"
# root = "YOUR_REPO_I_THINK"
# orgapi = "https://api.github.com/repos/YOUR_ORG_HERE/"
# pdrepo = "PD-curriculum-repo"
#markdown configs cannot be inherited so are not set, look in org-cyf-theme for examples
# this seems also to not be heritable but you do need it
[page]
nextPrevInSectionSortOrder = 'asc'
nextPrevSortOrder = 'asc'
[caches.getjson]
# Disable caching of fetches - we want every build to get up to date content for issues, so that if people make clarifications or fixes to issues, we pick them up.
maxAge = 0
[security.funcs]
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API.
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos.
getenv = ["^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$"]
[module]
[module.hugoVersion]
extended = true
min = "0.133.0"