Update templates

This commit is contained in:
Dimitri Lozeve 2020-08-30 23:41:53 +02:00
parent 55b9e2523c
commit b0ca171973
34 changed files with 536 additions and 707 deletions

View file

@ -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)$ &ndash; $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)$ &ndash; $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>

View file

@ -1,10 +1,3 @@
<article>
<section class="header">
$if(author)$
by $author$
$endif$
</section>
<section>
$body$
</section>
</article>
<section>
$body$
</section>