Initial pinealservo.com hakyll site
This commit is contained in:
2
templates/archive.html
Normal file
2
templates/archive.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<p>Here you can find all my previous posts:</p>
|
||||
$partial("templates/post-list.html")$
|
43
templates/default.html
Normal file
43
templates/default.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href='http://fonts.googleapis.com/css?family=Orbitron:700|PT+Sans|Oswald:400,300' rel='stylesheet' type='text/css'>
|
||||
<meta charset="utf-8" />
|
||||
<title>PinealServo$if(title)$ - $title$$endif$</title>
|
||||
<link rel="stylesheet" href="/css/layout.css" />
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
|
||||
<div id="header">
|
||||
<div id="logo">
|
||||
<a href="/">PinealServo</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="navigation">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
$if(title)$<h1>$title$</h1>$endif$
|
||||
|
||||
$body$
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<p><em>Site proudly generated by
|
||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a></em></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</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>
|
8
templates/post.html
Normal file
8
templates/post.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="info">
|
||||
<em>Posted on $date$
|
||||
$if(author)$
|
||||
by $author$
|
||||
$endif$</em>
|
||||
</div>
|
||||
|
||||
$body$
|
Reference in New Issue
Block a user