projects
/
thetarpit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8652b1
)
site: use absolute urls for pages
author
Lucian Mogosanu
<lucian.mogosanu@gmail.com>
Mon, 22 Jul 2013 08:01:54 +0000
(11:01 +0300)
committer
Lucian Mogosanu
<lucian.mogosanu@gmail.com>
Mon, 22 Jul 2013 08:01:54 +0000
(11:01 +0300)
site.hs
patch
|
blob
|
history
diff --git
a/site.hs
b/site.hs
index
c101f13
..
65696f7
100644
(file)
--- a/
site.hs
+++ b/
site.hs
@@
-60,7
+60,8
@@
compilePages = do
route $ setExtension "html"
compile $ pandocCompiler
>>= loadAndApplyTemplate "templates/default.html" defaultContext
- >>= relativizeUrls
+ -- relative URLs break 404 pages, so don't do it here
+ -- >>= relativizeUrls
compileArchive :: Rules ()
compileArchive = do