add stylesheet for syntax highlighting and add toc

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-05-13 07:41:43 +05:30
parent 0e6d6d79a2
commit 0c4333e325
15 changed files with 223 additions and 281 deletions

View File

@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>nattopages - $title$</title>
<link rel="stylesheet" href="/css/default.css" />
<link rel="stylesheet" href="/css/highlight.css" />
</head>
<body>
<header>
@@ -28,11 +29,13 @@
<a href="https://git.weirdnatto.in/natto1784/nattopages">Source</a> available under MIT License<br>
Site proudly generated by
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
PGP Fingerprint: 53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559
<ul class="subdomains">
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559
<ul class="subdomains" style="list-style-type: none;">
$for(subdomains)$
<li>
<a href="https://$name$.$domain$"> <img src="/images/logos/$name$.png" alt="https://$name$.$domain$"/> </a>
<li style="display: inline-block;">
<a href="https://$name$.$domain$">
<img src="/images/logos/$name$.png" alt="https://$name$.$domain$" width="30" height="30"/>
</a>
</li>
$endfor$
</ul>