misc update
This commit is contained in:
18
build/templates/default.ori.html
Normal file
18
build/templates/default.ori.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
9
build/templates/partials/article.ori.html
Normal file
9
build/templates/partials/article.ori.html
Normal 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>
|
||||
3
build/templates/partials/footer.ori.html
Normal file
3
build/templates/partials/footer.ori.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer class="site-footer">
|
||||
<p>Last updated: ${ new:Date() }</p>
|
||||
</footer>
|
||||
4
build/templates/partials/header.ori.html
Normal file
4
build/templates/partials/header.ori.html
Normal 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>
|
||||
9
build/templates/partials/navigation.ori.html
Normal file
9
build/templates/partials/navigation.ori.html
Normal 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>
|
||||
3
build/templates/partials/view-card.ori.html
Normal file
3
build/templates/partials/view-card.ori.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<a href="/views/${ _/slug}.html" class="view-card">
|
||||
<span>${ _/title }</span>
|
||||
</a>
|
||||
3
build/templates/partials/view-cards.ori.html
Normal file
3
build/templates/partials/view-cards.ori.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="view-cards">
|
||||
${map(data/views, (view)=>templates/partials/view-card.ori.html(view))}
|
||||
</div>
|
||||
Reference in New Issue
Block a user