Skip to content

Commit f0ad902

Browse files
authored
Fix 404.html (#509)
* fix: do not relativize 404.html at it breaks in subpages
1 parent cc7c758 commit f0ad902

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

404.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
title: Page not found
3+
---
14
<div class="max-w-screen-xl mx-auto py-16 md:py-24">
25
$partial("templates/corners.html")$
36
<div class="text-center pt-12 md:pt-20 px-12 sm:px-16 md:px-24 lg:px-36 ">

site.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ main = hakyll $ do
360360
getResourceBody
361361
>>= applyAsTemplate sponsors
362362
>>= loadAndApplyTemplate "templates/boilerplate.html" sponsors
363-
>>= relativizeUrls
364363

365364
-- careers ---------------------------------------------------------------------------------------------
366365
create ["careers/index.html"] $ do

0 commit comments

Comments
 (0)