From 110cd0f63e00d61708b344956d9770caf6df371c Mon Sep 17 00:00:00 2001 From: Dhananjay Balan Date: Wed, 1 Feb 2017 15:58:02 +0100 Subject: [PATCH] Fix about link and spacing of headings --- about.rst | 11 ----------- contact.markdown | 5 ----- site.hs | 6 ------ templates/archive.html | 2 ++ templates/default.html | 2 +- 5 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 about.rst delete mode 100644 contact.markdown diff --git a/about.rst b/about.rst deleted file mode 100644 index 9453de0..0000000 --- a/about.rst +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: About ---- -======= -About -======= - -https://dbalan.in - -What are top domains for? - diff --git a/contact.markdown b/contact.markdown deleted file mode 100644 index 2065612..0000000 --- a/contact.markdown +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Contact ---- - -Is this really real? diff --git a/site.hs b/site.hs index d24ccfb..160d871 100644 --- a/site.hs +++ b/site.hs @@ -27,12 +27,6 @@ main = hakyll $ do route $ idRoute compile copyFileCompiler - match (fromList ["about.rst", "contact.markdown"]) $ do - route $ setExtension "html" - compile $ pandocCompiler - >>= loadAndApplyTemplate "templates/default.html" defaultContext - >>= relativizeUrls - match "blog/*" $ do route $ octopressRoute compile $ pandocCompiler diff --git a/templates/archive.html b/templates/archive.html index 3ba0a8c..332dc9a 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,3 +1,5 @@ +

Archives

$partial("templates/post-list.html")$ +
diff --git a/templates/default.html b/templates/default.html index 5ea805f..62b3f5a 100644 --- a/templates/default.html +++ b/templates/default.html @@ -14,7 +14,7 @@ Binary Strolls    Archive   - About + About