misc update

This commit is contained in:
sashinexists
2025-01-09 06:13:01 +11:00
parent b29bc550c5
commit c4c26c0b4f
27 changed files with 797 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
<article class="article">
<header class="article-header">
<h1 class="article-title">${ _/title }</h1>
<!-- <div class="article-last-updated-date">${ _/slug}</div> -->
</header>
<section class="article-content">
${ mdHtml(_/@text) }
</section>
</article>

View File

@@ -0,0 +1,3 @@
<footer class="site-footer">
<p>Last updated: ${ new:Date() }</p>
</footer>

View File

@@ -0,0 +1,4 @@
<header class="site-header">
<h1 class="page-title"><a href="/">Sashin Exists</a></h1>
${ templates/partials/navigation.ori.html }
</header>

View File

@@ -0,0 +1,9 @@
<nav class="site-navigation">
<ul>
<li><a href="/about.html">About</a></li>
<li><a href="/now.html">Now</a></li>
<li><a href="/views">Views</a></li>
<li><a href="/subscribe.html">Subscribe</a></li>
<li><a href="/support.html">Support</a></li>
</ul>
</nav>

View File

@@ -0,0 +1,3 @@
<a href="/views/${ _/slug}.html" class="view-card">
<span>${ _/title }</span>
</a>

View File

@@ -0,0 +1,3 @@
<div class="view-cards">
${map(data/views, (view)=>templates/partials/view-card.ori.html(view))}
</div>