1
0

start work on new website

This commit is contained in:
sashinexists
2024-12-04 16:17:16 +11:00
parent 1cb1a56205
commit 12b9db6212
14 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<html>
<head>
<link href="/styles/main.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
</head>
<body>
${ templates/partials/header.ori.html() }
<main class="page-content">
${ _ }
</main>
${ templates/partials/footer.ori.html() }
</body>
</html>

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</a></li>
<li><a href="">Now</a></li>
<li><a href="/views">Views</a></li>
<li><a href="">Subscribe</a></li>
<li><a href="">Support</a></li>
</ul>
</nav>

View File

@@ -0,0 +1,3 @@
<a href="/views/${ _/slug}.md" 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>