-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
171 lines (143 loc) · 4.07 KB
/
netlify.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[build]
command = 'hugo'
publish = 'public'
[build.environment]
HUGO_VERSION = '0.96.0'
[context]
[context.branch-deploy]
command = 'hugo -F -b $DEPLOY_PRIME_URL'
[context.deploy-preview]
command = 'hugo -F -b $DEPLOY_PRIME_URL'
[context.production]
[context.production.environment]
HUGO_ENV = 'production'
# COMMENT: redirect rules with all the fields expanded
# According to netlify domain management
# https://app.netlify.com/sites/libjohn/settings/domain#domains
# # Redirect default Netlify subdomain to primary domain
# https://libjohn.netlify.com/* https://www.johnlittle.info/:splat 301!
[[redirects]]
from = "https://rfun.netlify.com/*"
to = "https://rfun.library.duke.edu/:splat"
status = 301
force = true
# redirect from when rmarkdown was
# servied via blogdown::rfun inside the /static subdir
# i.e. symlink from /docs to
# https://github.com/data-and-visualization/blogdown2-rfun/tree/master/static/rmarkdown
# then push blogdown2-rfun when netlify would rebuild site
# and store rmarkdown out of https://rfun.library.duke.edu/rmarkdown/
# New location will be served by connecting the docs
# directory of this repo diretly netlify. CNAME from the
# folks in ITS will allow rmarkdown-rfun.netlify.com to
# get served via rmarkdown.library.duke.edu
[[redirects]]
from = "portfolio/r_flipped/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/ggplot_workshop/*"
to = "https://intro2r.library.duke.edu/viz.html"
status = 301
force = true
[[redirects]]
from = "portfolio/mapping_workshop/*"
to = "https://map-rfun.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/sentiment_analysis/*"
to = "https://github.com/libjohn/workshop_textmining"
status = 301
force = true
[[redirects]]
from = "portfolio/dashboard_workshop/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/slides_workshop/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/twitter/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/sql_and_databases/*"
to = "https://github.com/libjohn/casestudy_bigquery_dbplyr"
status = 301
force = true
[[redirects]]
from = "portfolio/scraping_workshop/*"
to = "https://github.com/libjohn/workshop_webscraping"
status = 301
force = true
[[redirects]]
from = "portfolio/case_study/*"
to = "https://www.youtube.com/playlist?list=PLIUcX1JrVUNV_ihIoJX96I_c32Gp8_3h2"
status = 301
force = true
[[redirects]]
from = "portfolio/rmarkdown_workshop/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/git_workshop/*"
to = "https://git-rfun.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "/portfolio/intro2r_workshop/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "/portfolio/r_open_labs/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true
[[redirects]]
from = "portfolio/shiny_workshop/*"
to = "https://shiny.posit.co/r/getstarted/shiny-basics/lesson1/index.html"
status = 301
force = true
[[redirects]]
from = "blog/data-sources-for-regression-analysis/*"
to = "https://intro2r.library.duke.edu/data-sources-for-regression-analysis"
status = 301
force = true
[[redirects]]
from = "/rmarkdown/*"
to = "https://rmarkdown.library.duke.edu/:splat"
status = 301
force = true
[[redirects]]
from = "/map/*"
to = "https://map-rfun.library.duke.edu/:splat"
status = 301
force = true
[[redirects]]
from = "/intro2r/*"
to = "https://intro2r.library.duke.edu/:splat"
status = 301
force = true
[[redirects]]
from = "/git/*"
to = "https://git-rfun.library.duke.edu/:splat"
status = 301
force = true
[[redirects]]
from = "/ggplot/*"
to = "https://ggplot.library.duke.edu/:splat"
status = 301
force = true
[[redirects]]
from = "/*"
to = "https://intro2r.library.duke.edu/"
status = 301
force = true