diff --git a/css/highlight.css b/css/highlight.css new file mode 100644 index 0000000..57b31eb --- /dev/null +++ b/css/highlight.css @@ -0,0 +1,18 @@ +/* Generated by pandoc. */ +table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre + { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } +td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } +td.sourceCode { padding-left: 5px; } +.sourceCode span.kw { color: #007020; font-weight: bold; } +.sourceCode span.dt { color: #902000; } +.sourceCode span.dv { color: #40a070; } +.sourceCode span.bn { color: #40a070; } +.sourceCode span.fl { color: #40a070; } +.sourceCode span.ch { color: #4070a0; } +.sourceCode span.st { color: #4070a0; } +.sourceCode span.co { color: #60a0b0; font-style: italic; } +.sourceCode span.ot { color: #007020; } +.sourceCode span.al { color: red; font-weight: bold; } +.sourceCode span.fu { color: #06287e; } +.sourceCode span.re { } +.sourceCode span.er { color: red; font-weight: bold; } diff --git a/site.hs b/site.hs index de6264b..dcf230c 100644 --- a/site.hs +++ b/site.hs @@ -21,6 +21,10 @@ main = hakyll $ do route idRoute compile compressCssCompiler + match "js/*" $ do + route idRoute + compile compressCssCompiler + match (fromList ["about.markdown", "contact.markdown"]) $ do route $ setExtension "html" compile $ pandocCompiler diff --git a/templates/default.html b/templates/default.html index 58991d2..61f904f 100644 --- a/templates/default.html +++ b/templates/default.html @@ -6,6 +6,7 @@ rauhala.info - $title$ +
diff --git a/templates/post-list.html b/templates/post-list.html index 71cf1b9..3a50f28 100644 --- a/templates/post-list.html +++ b/templates/post-list.html @@ -1,7 +1,7 @@