Skip to content

Commit 11e7aa9

Browse files
Merge pull request #366 from haskellfoundation/404
Iterate on 404 page
2 parents 0d9875d + 1e2c787 commit 11e7aa9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

message-index/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script>
88
const messageRe = /^\/messages\/[A-Z]+-[0-9]+/;
9-
if messageRe.test(window.location.pathname) {
9+
if (messageRe.test(window.location.pathname)) {
1010
document.getElementById("documentation-pointer").innerHTML = "This message is currently undocumented. You can help out by <a href=\"https://github.com/haskellfoundation/error-message-index/issues\">opening an issue</a> or <a href=\"https://github.com/haskellfoundation/error-message-index/pulls\">contributing documentation</a>."
1111
}
1212
</script>

message-index/site.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ main = hakyll $ do
123123
getResourceBody
124124
>>= applyAsTemplate ctx
125125
>>= loadAndApplyTemplate "templates/default.html" ctx
126-
>>= relativizeUrls
127126

128127
match "index.html" $
129128
version "nav" $ do

0 commit comments

Comments
 (0)