Skip to content

Commit 91be8ea

Browse files
committed
fix links
1 parent 4d56009 commit 91be8ea

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

tools/generate_homepage_links.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ result = join(card.(book_model),"\n")
284284
@htl("""$((let
285285
notebook_name = basename(without_dotjl(section.notebook_path))
286286
@htl """
287-
<a class="no-decoration" href="$notebook_name/">
287+
<a class="no-decoration" href="../$notebook_name/">
288288
<h3>$(section.name)</h3>
289289
<img src=$(section.preview_image_url)>
290290
</a>

website/homepage/index.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -189,111 +189,111 @@ <h1>Why is this course different?</h1>
189189
<div class="wide subjectscontainer">
190190
<h1>Subjects</h1>
191191
<div class="subjects">
192-
<a class="no-decoration" href="images/">
192+
<a class="no-decoration" href="../images/">
193193
<h3>Images as Data and Arrays</h3>
194194
<img src='https://user-images.githubusercontent.com/6933510/136196634-2294d0a7-e79a-40d0-bbb8-81da70f4d398.png'>
195195
</a>
196-
<a class="no-decoration" href="transformations_and_autodiff/">
196+
<a class="no-decoration" href="../transformations_and_autodiff/">
197197
<h3>Transformations &amp; Autodiff</h3>
198198
<img src='https://user-images.githubusercontent.com/6933510/136196632-ad67cb84-a4c9-410e-ab72-f4fcfc26f69a.png'>
199199
</a>
200-
<a class="no-decoration" href="transforming_images/">
200+
<a class="no-decoration" href="../transforming_images/">
201201
<h3>Transformations with Images</h3>
202202
<img src='https://user-images.githubusercontent.com/6933510/136196626-194e81c9-00f7-49f6-90c3-09945723b6a3.png'>
203203
</a>
204-
<a class="no-decoration" href="transformations2/">
204+
<a class="no-decoration" href="../transformations2/">
205205
<h3>Transformations II: Composability, Linearity and Nonlinearity</h3>
206206
<img src='https://user-images.githubusercontent.com/6933510/136196619-0750544f-cd6d-4ae3-ace7-60c24443d721.png'>
207207
</a>
208-
<a class="no-decoration" href="newton_method/">
208+
<a class="no-decoration" href="../newton_method/">
209209
<h3>The Newton Method</h3>
210210
<img src='https://user-images.githubusercontent.com/6933510/136196605-b6119b9d-223c-44bc-97d5-ef7cfce66483.gif'>
211211
</a>
212-
<a class="no-decoration" href="dynamicprograms/">
212+
<a class="no-decoration" href="../dynamicprograms/">
213213
<h3>Intro to Dynamic Programming</h3>
214214
<img src='https://user-images.githubusercontent.com/6933510/136196599-c6ae60f0-9269-4134-bb0d-5bcab928bd2b.gif'>
215215
</a>
216-
<a class="no-decoration" href="seamcarving/">
216+
<a class="no-decoration" href="../seamcarving/">
217217
<h3>Seam Carving</h3>
218218
<img src='https://user-images.githubusercontent.com/6933510/136196584-b3c806a8-aa61-48d9-9e73-30583fcc38bf.gif'>
219219
</a>
220-
<a class="no-decoration" href="structure/">
220+
<a class="no-decoration" href="../structure/">
221221
<h3>Taking Advantage of Structure</h3>
222222
<img src='https://user-images.githubusercontent.com/6933510/136196581-ffdf4a3b-f35c-4eb8-85a7-f07560bd421b.png'>
223223
</a>
224-
<a class="no-decoration" href="pca/">
224+
<a class="no-decoration" href="../pca/">
225225
<h3>Principal Component Analysis</h3>
226226
<img src='https://user-images.githubusercontent.com/6933510/136196577-512cee99-aebf-48a9-97b8-358d5ca561ca.png'>
227227
</a>
228-
<a class="no-decoration" href="random_vars/">
228+
<a class="no-decoration" href="../random_vars/">
229229
<h3>Sampling and Random Variables</h3>
230230
<img src='https://user-images.githubusercontent.com/6933510/136196576-70e45c9d-ef0e-4498-bf61-58d9ae854c3e.png'>
231231
</a>
232-
<a class="no-decoration" href="simulating_component_failure/">
232+
<a class="no-decoration" href="../simulating_component_failure/">
233233
<h3>Modeling with Stochastic Simulation</h3>
234234
<img src='https://user-images.githubusercontent.com/6933510/136196572-b11974d5-7335-4678-9092-630e034bbe8f.png'>
235235
</a>
236-
<a class="no-decoration" href="random_variables_as_types/">
236+
<a class="no-decoration" href="../random_variables_as_types/">
237237
<h3>Random Variables as Types</h3>
238238
<img src='https://user-images.githubusercontent.com/6933510/136196570-478bbb89-05fb-4799-99a0-0ede06354cb6.png'>
239239
</a>
240-
<a class="no-decoration" href="random_walks/">
240+
<a class="no-decoration" href="../random_walks/">
241241
<h3>Random Walks</h3>
242242
<img src='https://user-images.githubusercontent.com/6933510/136196563-f4b5b44c-5252-4e67-8c82-c550de891c55.png'>
243243
</a>
244-
<a class="no-decoration" href="discrete_and_continuous/">
244+
<a class="no-decoration" href="../discrete_and_continuous/">
245245
<h3>Discrete and Continuous</h3>
246246
<img src='https://user-images.githubusercontent.com/6933510/136196552-ce16c06f-bd12-427f-80e5-aedb1fbc734a.png'>
247247
</a>
248-
<a class="no-decoration" href="linearmodel_datascience/">
248+
<a class="no-decoration" href="../linearmodel_datascience/">
249249
<h3>Linear Model, Data Science, &amp; Simulations</h3>
250250
<img src='https://user-images.githubusercontent.com/6933510/136199721-8fd577cb-d6f3-492d-bbdc-37bc74664ca7.png'>
251251
</a>
252-
<a class="no-decoration" href="optimization/">
252+
<a class="no-decoration" href="../optimization/">
253253
<h3>Optimization</h3>
254254
<img src='https://user-images.githubusercontent.com/6933510/136199719-a56a217b-cd36-4da2-b407-7285dcec94df.png'>
255255
</a>
256-
<a class="no-decoration" href="time_stepping/">
256+
<a class="no-decoration" href="../time_stepping/">
257257
<h3>Time stepping</h3>
258258
<img src='https://user-images.githubusercontent.com/6933510/136199718-ff811eb3-aad6-4d6b-99e0-f6bf922816b4.png'>
259259
</a>
260-
<a class="no-decoration" href="odes_and_parameterized_types/">
260+
<a class="no-decoration" href="../odes_and_parameterized_types/">
261261
<h3>ODEs and parameterized types</h3>
262262
<img src='https://user-images.githubusercontent.com/6933510/136199713-25eb2e90-c5cd-4e11-8463-6f6069a81a51.png'>
263263
</a>
264-
<a class="no-decoration" href="predicting_the_weather/">
264+
<a class="no-decoration" href="../predicting_the_weather/">
265265
<h3>Why we can&apos;t predict the weather</h3>
266266
<img src='https://user-images.githubusercontent.com/6933510/136199708-af8acad2-4172-4fa7-911e-e30300efb5ee.png'>
267267
</a>
268-
<a class="no-decoration" href="our_first_climate_model/">
268+
<a class="no-decoration" href="../our_first_climate_model/">
269269
<h3>Our first climate model</h3>
270270
<img src='https://user-images.githubusercontent.com/6933510/136199705-7bdb6bb0-8698-43a1-87e6-c073ab102da5.png'>
271271
</a>
272-
<a class="no-decoration" href="how_to_collaborate_on_software/">
272+
<a class="no-decoration" href="../how_to_collaborate_on_software/">
273273
<h3>How to collaborate on software</h3>
274274
<img src='https://user-images.githubusercontent.com/6933510/136199704-ba6d0586-34bf-490c-8fd0-6959ab42cd23.png'>
275275
</a>
276-
<a class="no-decoration" href="climate2_snowball_earth/">
276+
<a class="no-decoration" href="../climate2_snowball_earth/">
277277
<h3>Snowball Earth and hysteresis</h3>
278278
<img src='https://user-images.githubusercontent.com/6933510/136199703-5edb4791-f9c0-4872-b0a7-7c9b1b6502d5.png'>
279279
</a>
280-
<a class="no-decoration" href="advection_and_diffusion/">
280+
<a class="no-decoration" href="../advection_and_diffusion/">
281281
<h3>Advection and diffusion in 1D</h3>
282282
<img src='https://user-images.githubusercontent.com/6933510/136200627-8211654f-7730-4f4a-8933-5b64164806c3.gif'>
283283
</a>
284-
<a class="no-decoration" href="resistors_and_stencils/">
284+
<a class="no-decoration" href="../resistors_and_stencils/">
285285
<h3>Resistors, stencils and climate models</h3>
286286
<img src='https://user-images.githubusercontent.com/6933510/136200635-33c007ff-89f6-48dc-b1d3-eb56fd16003e.gif'>
287287
</a>
288-
<a class="no-decoration" href="2d_advection_diffusion/">
288+
<a class="no-decoration" href="../2d_advection_diffusion/">
289289
<h3>Advection and diffusion in 2D</h3>
290290
<img src='https://user-images.githubusercontent.com/6933510/136200688-e3c6d6ee-808c-433f-8252-af6ad278fb4d.gif'>
291291
</a>
292-
<a class="no-decoration" href="inverse_climate_model/">
292+
<a class="no-decoration" href="../inverse_climate_model/">
293293
<h3>Inverse climate modeling</h3>
294294
<img src='https://user-images.githubusercontent.com/6933510/136199660-315b045b-f144-4009-9282-7fe6d1f5d41b.gif'>
295295
</a>
296-
<a class="no-decoration" href="optimization_with_JuMP/">
296+
<a class="no-decoration" href="../optimization_with_JuMP/">
297297
<h3>Solving inverse problems</h3>
298298
<img src='https://user-images.githubusercontent.com/6933510/136200827-89647ae8-cb06-42ea-a18d-5f64e9cc2b25.png'>
299299
</a>

0 commit comments

Comments
 (0)