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
match "templates/*" $ compile templateCompiler
--copy fonts, images etc.
match ("font/*" .||. "images/*" .||. "humans.txt" .||. "D7665688.txt" .||. "robots.txt") $ do
route idRoute
@ -70,18 +72,9 @@ main = do
loadAndApplyTemplate "templates/default.html" baseCtx full
>>= 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
tagsRules tags $ \tag pattern -> do
let title = "Posts tagged " ++ tag ++ ":"
-- Copied from posts, need to refactor
route idRoute
compile $ do

View File

@ -9,13 +9,13 @@
<link rel="stylesheet" type="text/css" href="/css/font.css"/>
<!-- humans.txt -->
<link rel="author" href="https://nek0,eu/humans.txt" />
<link rel="author" href="/humans.txt" />
<!-- 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 -->
<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 -->
<link rel="icon" type="image/x-icon" href="/images/nekonet.ico">

View File

@ -20,7 +20,7 @@ $body$
</div>
<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">