First commit - just a copy of HaskellEmbedded at this point
This commit is contained in:
2
templates/archive.html
Normal file
2
templates/archive.html
Normal file
@@ -0,0 +1,2 @@
|
||||
Here you can find all my previous posts:
|
||||
$partial("templates/post-list.html")$
|
||||
15
templates/comments.html
Normal file
15
templates/comments.html
Normal file
@@ -0,0 +1,15 @@
|
||||
$body$
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES * * */
|
||||
var disqus_shortname = 'haskellembedded';
|
||||
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
||||
62
templates/default.html
Normal file
62
templates/default.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Haskell Embedded Blog - $title$</title>
|
||||
<link href="/css/bootstrap.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/default.css"/>
|
||||
<!-- syntax.css is Pandoc's syntax.css file, copied from:
|
||||
https://github.com/jaspervdj/hakyll/blob/master/web/css/syntax.css
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="/css/syntax.css"/>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<a href="/">Haskell Embedded Blog</a>
|
||||
</div>
|
||||
<div id="navigation">
|
||||
<a href="/">Home</a>
|
||||
<a href="/pages/about.html">About</a>
|
||||
<!-- a href="/contact.html">Contact</a -->
|
||||
<a href="/pages/links.html">Links</a>
|
||||
<a href="/archive.html">Archive</a>
|
||||
<a href="/rss.xml">RSS</a>
|
||||
<a href="/atom.xml">ATOM</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<h1>$title$</h1>
|
||||
|
||||
$body$
|
||||
</div>
|
||||
<div id="footer">
|
||||
Site proudly generated by
|
||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
|
||||
</div>
|
||||
<script src="/js/bootstrap.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
7
templates/post-list.html
Normal file
7
templates/post-list.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<ul>
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
13
templates/post.html
Normal file
13
templates/post.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="info">
|
||||
Posted on $date$
|
||||
$if(author)$
|
||||
by $author$
|
||||
$endif$
|
||||
</div>
|
||||
<div class="info">
|
||||
$if(tags)$
|
||||
Tags: $tags$
|
||||
$endif$
|
||||
</div>
|
||||
|
||||
$body$
|
||||
1
templates/tag.html
Normal file
1
templates/tag.html
Normal file
@@ -0,0 +1 @@
|
||||
$partial("templates/post-list.html")$
|
||||
Reference in New Issue
Block a user