z
This commit is contained in:
12
src/site.hs
12
src/site.hs
@@ -61,17 +61,19 @@ main = hakyll $ do
|
||||
|
||||
match "index.md" $ do
|
||||
route $ setExtension "html"
|
||||
compile $
|
||||
compile $ do
|
||||
tocCtx <- getTocCtx defaultContext
|
||||
chaoDocCompiler
|
||||
>>= loadAndApplyTemplate "templates/index.html" (defaultContext `mappend` constField "root" root)
|
||||
>>= loadAndApplyTemplate "templates/index.html" (tocCtx `mappend` constField "root" root)
|
||||
>>= relativizeUrls
|
||||
>>= cleanIndexHtmls
|
||||
|
||||
match ( fromList["talks.md","invited_speaker.md","registration.md","program.md","venue.md","travel.md","social_event.md","travel_support.md","contact.md"] ) $ do
|
||||
match ( fromList["talks.md","invited_speaker.md","registration.md","program.md","venue.md","travel.md","social_event.md","contact.md"] ) $ do
|
||||
route cleanRoute
|
||||
compile $
|
||||
compile $ do
|
||||
tocCtx <- getTocCtx defaultContext
|
||||
chaoDocCompiler
|
||||
>>= loadAndApplyTemplate "templates/standalone.html" (defaultContext `mappend` constField "root" root)
|
||||
>>= loadAndApplyTemplate "templates/standalone.html" (tocCtx `mappend` constField "root" root)
|
||||
>>= relativizeUrls
|
||||
|
||||
-- -- build up tags
|
||||
|
||||
Reference in New Issue
Block a user