treewide: add sticker and format

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-08-31 17:57:06 +05:30
parent 5af774f08d
commit 3d03aa97e2
10 changed files with 264 additions and 171 deletions

View File

@@ -1,7 +1,5 @@
<p>
<h3> Here you can find all my previous posts: </h3>
</p>
<h3>Here you can find all my previous posts:</h3>
$partial("templates/post-list.html")$
<h3>Tags</strong></h3>
<h3><strong>Tags</strong></h3>
<div class="tags">$tags$</div>

View File

@@ -1,16 +1,13 @@
You have stumbled upon a relic of the past that I never maintained.
<hr>
<hr />
$for(today)$
<article>
<h1 class="post-title">$title$</h1>
<div class="post-teaser">
$body$
</div>
<hr>
</article>
<article>
<h1 class="post-title">$title$</h1>
<div class="post-teaser">$body$</div>
<hr />
</article>
$endfor$
<p>
<h3> Previous Dailies: </h3>
</p>
<h3>Previous Dailies:</h3>
$partial("templates/post-list.html")$

View File

@@ -1,46 +1,64 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<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>
<div class="nattopages">
<a href="/">nattopages</a>
</div>
<nav>
<a href="/about.html">About</a>
<a href="/contact.html">Contact</a>
<a href="/archive.html">Archive</a>
<a href="/links.html">Links</a>
</nav>
</header>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<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>
<div id="nattopages">
<a href="/">nattopages</a>
</div>
<nav>
<a href="/about.html">About</a>
<a href="/contact.html">Contact</a>
<a href="/archive.html">Archive</a>
<a href="/links.html">Links</a>
</nav>
</header>
<main role="main">
$body$
</main>
<main role="main">$body$</main>
<footer>
All content published under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International</a><br>
<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>
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br>
<a href="/rss.xml">RSS 2.0</a><br>
<ul class="subdomains" style="list-style-type: none;">
$for(subdomains)$
<li style="display: inline-block;">
<a href="https://$name$.$domain$">
<img src="/images/icons/$name$.svg" alt="https://$name$.$domain$" width="30" height="30"/>
</a>
</li>
$endfor$
</ul>
</footer>
</body>
<footer>
All content published under
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
>Creative Commons Attribution-NonCommercial-ShareAlike 4.0
International</a
><br />
<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 />
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br />
<a href="/rss.xml">RSS 2.0</a><br />
<div style="color: red">
Subdomains may be down for the next few months, I am not exactly in a
position to host until october
</div>
<ul id="subdomains" style="list-style-type: none">
$for(subdomains)$
<li style="display: inline-block">
<a href="https://$name$.$domain$">
<img
src="/images/icons/$name$.svg"
alt="https://$name$.$domain$"
width="30"
height="30"
/>
</a>
</li>
$endfor$
</ul>
</footer>
<img
id="sticker"
src="/images/personal/nyn.webp"
alt="いらっしゃいませ"
aria-hidden="true"
/>
</body>
</html>

View File

@@ -1,7 +1,5 @@
<ul>
$for(posts)$
<li class="post-item">
<a href="$url$">$title$</a> - $date$
</li>
$endfor$
$for(posts)$
<li class="post-item"><a href="$url$">$title$</a> - $date$</li>
$endfor$
</ul>

View File

@@ -1,19 +1,10 @@
<article>
<h1 class="post-title">$title$</h1>
<section class="post-header">
Posted on $date$
$if(author)$
by $author$
$endif$<br>
$if(tags)$
Tags: $tags$
$endif$<br>
$if(modified)$
Last modified on $modified$
$endif$
</section>
<hr>
<section>
$body$
</section>
<h1 class="post-title">$title$</h1>
<section class="post-header">
Posted on $date$ $if(author)$ by $author$ $endif$<br />
$if(tags)$ Tags: $tags$ $endif$<br />
$if(modified)$ Last modified on $modified$ $endif$
</section>
<hr />
<section>$body$</section>
</article>

View File

@@ -1,2 +1,3 @@
Here are all the posts marked with tag <strong style="font-size: 3rem;">$tag$</strong>:
Here are all the posts marked with tag
<strong style="font-size: 3rem">$tag$</strong>:
$partial("templates/post-list.html")$