new theme

This commit is contained in:
rhiannon morris 2024-09-15 17:50:10 +02:00
parent f5ac91e29c
commit 3f827564b4
5 changed files with 198 additions and 118 deletions

View file

@ -1,8 +1,10 @@
$if(hide-footer)$$else$
<footer>
<hr>
<a href=/index.html>all posts</a> ·
<a href=/all-tags.html>all tags</a>
<ul>
<li><a href=/index.html>all posts</a>
<li><a href=/all-tags.html>all tags</a>
<li><a href=/rss.xml>rss</a>
</ul>
</footer>
$endif$

View file

@ -3,9 +3,6 @@
<meta charset=utf-8>
<link rel=stylesheet href=/style/page.css>
$if(show-toc)$
<link rel=stylesheet href=/style/counters.css>
$endif$
$for(css)$
<link rel=stylesheet href=/style/$css$>
$endfor$

View file

@ -6,7 +6,7 @@ $head()$
$endif$
<div class=meta>
$if(date)$
<h2 class=date>$date$</h2>
<span class=date>$date$</span>
$endif$
$if(tags)$
<nav class=tags>
@ -19,18 +19,17 @@ $head()$
</nav>
$endif$
</div>
<hr>
</header>
<main>
$if(show-toc)$
<nav id=toc>
<h2>contents</h2>
<h1 class=unnumbered>contents</h1>
$table-of-contents$
</nav>
<hr>
$endif$
<main>
$body$
</main>