forked from doi-foundation/doi-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
109 lines (91 loc) · 2.45 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
baseURL = 'http://doifoundation-wsl.com'
#baseURL = 'https://staging.doi.com'
languageCode = 'en-us'
title = 'DOI Foundation WIP site'
theme = "doi-theme"
[markup.goldmark.renderer]
unsafe= true
[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 = 'Governance & Sustainability'
url = '/the-foundation/governance-and-sustainability/'
weight = 4
identifier = 'submenu2'
parent = 'foundation'
[[menu.main]]
name = 'The Community'
url = '/the-community/'
weight = 2
identifier = 'community'
[menu.main.params]
nolink = true
[[menu.main]]
name = 'Existing Registration Agencies'
url = '/the-community/what-are-registration-agencies/'
weight = 3
identifier = 'whatare'
parent = 'community'
[[menu.main]]
name = 'Who Are The Members'
url = '/the-community/who-are-the-members/'
weight = 4
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 = 4
identifier = 'whatisadoi'
parent = 'identifier'
[[menu.main]]
name = 'Resources'
url = '/resources/'
weight = 4
identifier = 'resources'