mylloon.fr/templates/blog/index.html

41 lines
879 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="fr">
2023-04-24 17:22:12 +02:00
<head dir="ltr">
{{>head.html}}
<link
rel="alternate"
type="application/rss+xml"
title="RSS"
href="/blog/rss"
/>
2023-04-24 18:01:38 +02:00
<link rel="stylesheet" href="/css/blog/index.css" />
2023-04-24 17:22:12 +02:00
</head>
<body>
<header>{{>navbar.html}}</header>
<main>
{{#data}}
2023-04-24 18:01:38 +02:00
<h1>Blog</h1>
<p>Blog perso, je dis peut-être n'importe quoi 🫶</p>
<a id="rss" href="/blog/rss">Lien vers le flux RSS</a>
2023-04-26 17:42:17 +02:00
{{#no_posts}}
<h2>Aucun posts</h2>
{{/no_posts}} {{^no_posts}}
2023-04-24 18:01:38 +02:00
<ul>
{{#posts}}
<li onclick="window.open('/blog/p/{{url}}', '_parent');">
2023-04-25 03:29:55 +02:00
{{>blog/date.html}}
<h2>{{title}}</h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}
2023-04-24 18:01:38 +02:00
</li>
{{/posts}}
</ul>
{{/no_posts}} {{/data}}
</main>
</body>
</html>