init
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")$
|
||||
40
templates/default.html
Normal file
40
templates/default.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>ChaosZone</title>
|
||||
<link rel="stylesheet" href="/css/default.css" />
|
||||
<link rel="stylesheet" href="/css/hover.css" />
|
||||
<link rel="icon" type="image/svg+xml" href="/images/Chaoszone.svg">
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header id="header">
|
||||
<div id="logo">
|
||||
<a href="/">ChaosZone</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
<li><a href="/archive.html">Archive</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<article id="content">
|
||||
<h1>$title$</h1>
|
||||
$body$
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<footer id="footer">
|
||||
Site proudly generated by
|
||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
|
||||
</footer>
|
||||
</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>
|
||||
17
templates/post.html
Normal file
17
templates/post.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="info">
|
||||
Posted on $date$
|
||||
$if(author)$
|
||||
by $author$
|
||||
$endif$
|
||||
</div>
|
||||
|
||||
$body$
|
||||
|
||||
<div class="pagination">
|
||||
$if(previousPageNum)$
|
||||
<a class="left" href="$previousPageUrl$"><svg width="1em" height="1em" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1664 896v128q0 53-32.5 90.5t-84.5 37.5h-704l293 294q38 36 38 90t-38 90l-75 76q-37 37-90 37-52 0-91-37l-651-652q-37-37-37-90 0-52 37-91l651-650q38-38 91-38 52 0 90 38l75 74q38 38 38 91t-38 91l-293 293h704q52 0 84.5 37.5t32.5 90.5z" fill="#fff"/></svg>previous page</a>
|
||||
$endif$
|
||||
$if(nextPageNum)$
|
||||
<a class="right" href="$nextPageUrl$">next page<svg width="1em" height="1em" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1600 960q0 54-37 91l-651 651q-39 37-91 37-51 0-90-37l-75-75q-38-38-38-91t38-91l293-293h-704q-52 0-84.5-37.5t-32.5-90.5v-128q0-53 32.5-90.5t84.5-37.5h704l-293-294q-38-36-38-90t38-90l75-75q38-38 90-38 53 0 91 38l651 651q37 35 37 90z" fill="#fff"/></svg></a>
|
||||
$endif$
|
||||
</div>
|
||||
Reference in New Issue
Block a user