some cleaning due to new domain

This commit is contained in:
nek0 2016-03-02 12:14:04 +01:00
parent d5c54f8267
commit b62ef5a8fc
3 changed files with 6 additions and 13 deletions

View file

@ -15,6 +15,8 @@ main = do
hakyllWith config $ do hakyllWith config $ do
match "templates/*" $ compile templateCompiler
--copy fonts, images etc. --copy fonts, images etc.
match ("font/*" .||. "images/*" .||. "humans.txt" .||. "D7665688.txt" .||. "robots.txt") $ do match ("font/*" .||. "images/*" .||. "humans.txt" .||. "D7665688.txt" .||. "robots.txt") $ do
route idRoute route idRoute
@ -70,18 +72,9 @@ main = do
loadAndApplyTemplate "templates/default.html" baseCtx full loadAndApplyTemplate "templates/default.html" baseCtx full
>>= relativizeUrls >>= relativizeUrls
-- match "posts/*.md" $ do
-- route $ setExtension "html"
-- compile $ pandocCompiler $ do
-- saveSnapshot "content"
-- loadAndApplyTemplate "templates/post.html" (postCtx tags)
-- loadAndApplyTemplate "templates/default.html" baseCtx
-- relativizeUrls
-- Post tags -- Post tags
tagsRules tags $ \tag pattern -> do tagsRules tags $ \tag pattern -> do
let title = "Posts tagged " ++ tag ++ ":" let title = "Posts tagged " ++ tag ++ ":"
-- Copied from posts, need to refactor -- Copied from posts, need to refactor
route idRoute route idRoute
compile $ do compile $ do

View file

@ -9,13 +9,13 @@
<link rel="stylesheet" type="text/css" href="/css/font.css"/> <link rel="stylesheet" type="text/css" href="/css/font.css"/>
<!-- humans.txt --> <!-- humans.txt -->
<link rel="author" href="https://nek0,eu/humans.txt" /> <link rel="author" href="/humans.txt" />
<!-- RSS --> <!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="neko's blog" href="https://nek0.eu/rss.xml"> <link rel="alternate" type="application/rss+xml" title="neko's blog" href="/rss.xml">
<!-- ATOM --> <!-- ATOM -->
<link rel="alternate" type="application/atom+xml" title="neko's blog" href="https://nek0.eu/atom.xml"> <link rel="alternate" type="application/atom+xml" title="neko's blog" href="/atom.xml">
<!-- favicon --> <!-- favicon -->
<link rel="icon" type="image/x-icon" href="/images/nekonet.ico"> <link rel="icon" type="image/x-icon" href="/images/nekonet.ico">

View file

@ -20,7 +20,7 @@ $body$
</div> </div>
<object id="yacs" seamless data="https://yacs.nek0.eu/comments/$title$"><p>If you see this, something is wrong</p></object> <object id="yacs" seamless data="https://yacs.nek0.eu/comments/$title$"><p>If you see this, something is wrong</p></object>
<script src="https://yacs.nek0.eu/static/js/yacs.js"></script> <script src="/static/js/yacs.js"></script>
<!-- <!--
<script type="text/javascript"> <script type="text/javascript">