-
Notifications
You must be signed in to change notification settings - Fork 113
/
hugo.toml
105 lines (89 loc) · 3.24 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
baseURL = "https://tinygo.org/"
title = "TinyGo"
languageCode = "en"
theme = "github.com/google/docsy"
enableGitInfo = true
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday]
plainIDAnchors = true
hrefTargetBlank = true
angledQuotes = false
latexDashes = true
# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"
[markup.highlight]
noClasses = false
[markup.goldmark.renderer]
unsafe = true
# Everything below this are Site Params
[params]
copyright = "The TinyGo Authors"
description = "A Go compiler for small places"
# Google Custom Search Engine ID. Remove or comment out to disable search.
gcs_engine_id = "feba5f0a3db52897d"
# Enable Algolia DocSearch
# algolia_docsearch = true
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
github_repo = "https://github.com/tinygo-org/tinygo-site"
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
github_project_repo = "https://github.com/tinygo-org/tinygo"
github_branch= "release"
# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = true
# Set the maximum number of menus to be displayed in the sidebar
sidebar_menu_truncate = 1000
# Show a menu to the left of the search menu to toggle light/dark mode (or set it to auto).
showLightDarkModeMenu = true
[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
[[params.links.user]]
name ="Mastodon"
url = "https://mastodon.social/@TinyGo"
icon = "fab fa-mastodon"
desc = "Follow us on Mastodon to get the latest news!"
[[params.links.user]]
name ="Twitter"
url = "https://twitter.com/TinyGolang"
icon = "fab fa-twitter"
desc = "You can also follow us on Twitter"
[[params.links.user]]
name ="Go Pkg Docs"
url = "https://pkg.go.dev/github.com/tinygo-org/tinygo?tab=doc"
icon = "fa fa-book"
desc = "Package Documentation"
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
[[params.links.developer]]
name = "GitHub"
url = "https://github.com/tinygo-org/tinygo"
icon = "fab fa-github"
desc = "Development takes place here!"
[[params.links.developer]]
name = "Slack"
url = "https://gophers.slack.com/messages/CDJD3SUP6/"
icon = "fab fa-slack"
desc = "Chat with other project developers"
[params.mermaid]
enable = true
[params.path_base_for_github_subdir]
# change content/<lang>/... to content/...
from = "content/(.*?)/(.*?)"
to = "content/$2"
# Add some extra headers to the development server.
# This is only relevant with `hugo serve`.
[server]
[[server.headers]]
for = '/**'
[server.headers.values]
Cross-Origin-Opener-Policy = "same-origin"
Cross-Origin-Embedder-Policy = "require-corp"