-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.toml
154 lines (128 loc) · 3.33 KB
/
config.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
baseURL = 'http://doifoundation-wsl.com'
#baseURL = 'https://staging.doi.com'
languageCode = 'en-us'
title = 'DOI Foundation WIP site'
theme = "doi-theme"
enableRobotsTXT = true
[params]
robots = [
"User-agent: *",
"Allow: /",
"Disallow: /_",
]
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.extensions]
typographer = true
linkify = false
[deployment]
# By default, files are uploaded in an arbitrary order.
# Files that match the regular expressions in the "Order" list
# will be uploaded first, in the listed order.
order = [".jpg$", ".gif$"]
[[deployment.targets]]
name = "s3_staging"
URL = "s3://staging.doi.org?region=us-west-2"
[[deployment.targets]]
# An arbitrary name for this target.
name = "s3_live"
URL = "s3://www-doi-org?region=us-west-2"
# [[deployment.matchers]] configure behavior for files that match the Pattern.
# See https://golang.org/pkg/regexp/syntax/ for pattern syntax.
# Pattern searching is stopped on first match.
# Samples:
[[deployment.matchers]]
# Cache static assets for 1 year.
pattern = "^.+\\.(js|css|svg|ttf)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = true
[[deployment.matchers]]
pattern = "^.+\\.(png|jpg)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = false
[[deployment.matchers]]
# Set custom content type for /sitemap.xml
pattern = "^sitemap\\.xml$"
contentType = "application/xml"
gzip = true
[[deployment.matchers]]
pattern = "^.+\\.(html|xml|json)$"
gzip = true
[menu]
[[menu.main]]
name = 'The Foundation'
url = '/the-foundation/'
weight = 1
identifier = 'foundation'
[menu.main.params]
nolink = true
[[menu.main]]
name = 'About Us'
url = '/the-foundation/about-us/'
weight = 2
identifier = 'governance'
parent = 'foundation'
[[menu.main]]
name = 'Board & Governance'
url = '/the-foundation/board-and-governance/'
weight = 3
identifier = 'board-and-governance'
parent = 'foundation'
[[menu.main]]
name = 'Sustainability'
url = '/the-foundation/sustainability/'
weight = 4
identifier = 'sustainability'
parent = 'foundation'
[[menu.main]]
name = 'The Community'
url = '/the-community/'
weight = 2
identifier = 'community'
[menu.main.params]
nolink = true
[[menu.main]]
name = 'What are Registration Agencies?'
url = '/the-community/what-are-registration-agencies/'
weight = 3
identifier = 'whatare'
parent = 'community'
[[menu.main]]
name = 'Existing Registration Agencies'
url = '/the-community/existing-registration-agencies/'
weight = 4
identifier = 'existing'
parent = 'community'
[[menu.main]]
name = 'Who Are The Members and Users?'
url = '/the-community/who-are-the-members-and-users/'
weight = 5
identifier = 'whoare'
parent = 'community'
[[menu.main]]
name = 'The Identifier'
url = '/the-identifier/'
weight = 3
identifier = 'identifier'
[menu.main.params]
nolink = true
[[menu.main]]
name = 'What is a DOI?'
url = '/the-identifier/what-is-a-doi/'
weight = 2
identifier = 'whatisadoi'
parent = 'identifier'
[[menu.main]]
name = 'DOI Handbook'
url = '/the-identifier/resources/handbook/'
weight = 4
identifier = 'doi-handbook'
parent = 'identifier'
[[menu.main]]
name = 'Resources'
url = '/the-identifier/resources/'
weight = 6
identifier = 'resources'
parent = 'identifier'