Update templates
This commit is contained in:
parent
55b9e2523c
commit
b0ca171973
34 changed files with 536 additions and 707 deletions
|
@ -23,33 +23,33 @@
|
|||
</head>
|
||||
<body>
|
||||
<article>
|
||||
$if(title)$
|
||||
<header>
|
||||
<nav>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/projects.html">Projects</a>
|
||||
<a href="/archive.html">Archive</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
</nav>
|
||||
<a href="/archive.html">Posts</a>
|
||||
<a href="/projects.html">Projects</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
</nav>
|
||||
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$if(date)$
|
||||
<p class="byline">$date$$if(author)$ – $author$$endif$</p>
|
||||
$else$
|
||||
$if(author)$
|
||||
<p class="byline">$author$</p>
|
||||
$endif$
|
||||
$endif$
|
||||
$if(title)$
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$if(date)$
|
||||
<p class="byline">$date$$if(author)$ – $author$$endif$</p>
|
||||
$else$
|
||||
$if(author)$
|
||||
<p class="byline">$author$</p>
|
||||
$endif$
|
||||
$endif$
|
||||
$endif$
|
||||
</header>
|
||||
$endif$
|
||||
|
||||
$body$
|
||||
|
||||
</article>
|
||||
|
||||
$body$
|
||||
|
||||
<footer>
|
||||
Site proudly generated by
|
||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
<article>
|
||||
<section class="header">
|
||||
$if(author)$
|
||||
by $author$
|
||||
$endif$
|
||||
</section>
|
||||
<section>
|
||||
$body$
|
||||
</section>
|
||||
</article>
|
||||
<section>
|
||||
$body$
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue