fixing things up for presentation
This commit is contained in:
parent
55f67911f5
commit
c70236571a
2 changed files with 7 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
title: Home
|
||||
description: A mutlilinugal blog about technical stuff, writing and other musings
|
||||
description: "A mutlilinugal blog about everything I spend my time with: technical stuff, writing and other musings."
|
||||
---
|
||||
|
||||
## Welcome
|
||||
## Welcome to my blog
|
||||
|
||||
|
||||
<img title="cat face" alt="cat face grinning with smiling eyes" src="/images/nekonet.svg" style="height: 250px; width: auto;"/>
|
||||
|
|
10
src/Main.hs
10
src/Main.hs
|
@ -45,7 +45,7 @@ main =
|
|||
match "site/index.md" $ do
|
||||
route $ myRoute `composeRoutes` setExtension "html"
|
||||
compile $ do
|
||||
posts <- fmap (take 5) . recentFirst =<< loadAll "posts/*"
|
||||
posts <- fmap (take 5) . recentFirst =<< loadAll "site/posts/*"
|
||||
let indexCtx = listField "posts" (postCtx tags) (return posts) <>
|
||||
constField "title" "Home" <>
|
||||
defaultContext
|
||||
|
@ -53,7 +53,7 @@ main =
|
|||
>>= applyAsTemplate indexCtx
|
||||
>>= renderPandoc
|
||||
>>= loadAndApplyTemplate "templates/default.html" baseCtx
|
||||
>>= relativizeUrls
|
||||
-- >>= relativizeUrls
|
||||
|
||||
match (fromList
|
||||
[ "site/about.md"
|
||||
|
@ -63,7 +63,7 @@ main =
|
|||
route $ myRoute `composeRoutes` setExtension "html"
|
||||
compile $ pandocCompiler
|
||||
>>= loadAndApplyTemplate "templates/default.html" baseCtx
|
||||
>>= relativizeUrls
|
||||
-- >>= relativizeUrls
|
||||
|
||||
match "site/404.md" $ do
|
||||
route $ myRoute `composeRoutes` setExtension "html"
|
||||
|
@ -118,7 +118,7 @@ main =
|
|||
makeItem ""
|
||||
>>= loadAndApplyTemplate "templates/archive.html" archiveCtx
|
||||
>>= loadAndApplyTemplate "templates/default.html" archiveCtx
|
||||
>>= relativizeUrls
|
||||
-- >>= relativizeUrls
|
||||
|
||||
match "templates/*" $ compile templateCompiler
|
||||
|
||||
|
@ -205,7 +205,7 @@ feedConf = FeedConfiguration
|
|||
|
||||
config :: Configuration
|
||||
config = defaultConfiguration
|
||||
{ deployCommand = "rsync --del --checksum -ave 'ssh -p 5555' \\_site/* nek0@chelnok.de:/home/nek0/www/blog"
|
||||
{ deployCommand = "rsync --del --checksum -ave 'ssh -p 5555' \\_site/* nek0@chelnok.de:/home/nek0/www/blog-seo"
|
||||
}
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue