mylloon.fr/templates/blog/index.html

41 lines
879 B
HTML
Raw Normal View History

<!DOCTYPE html>
2023-10-15 18:04:18 +02:00
<html lang="fr">
2023-04-24 17:22:12 +02:00
<head dir="ltr">
2023-10-15 18:04:18 +02:00
{{>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>
2023-10-15 18:04:18 +02:00
<body>
<header>{{>navbar.html}}</header>
<main>
{{#data}}
2023-04-24 18:01:38 +02:00
2023-10-15 18:04:18 +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
2023-10-15 18:04:18 +02:00
{{#no_posts}}
<h2>Aucun posts</h2>
{{/no_posts}} {{^no_posts}}
2023-04-24 18:01:38 +02:00
<ul>
{{#posts}}
2023-10-15 18:04:18 +02:00
<li onclick="window.open('/blog/p/{{url}}', '_parent');">
2023-04-25 03:29:55 +02:00
{{>blog/date.html}}
2023-10-15 18:04:18 +02:00
<h2>{{title}}</h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}
2023-04-24 18:01:38 +02:00
</li>
{{/posts}}
</ul>
2023-10-15 18:04:18 +02:00
{{/no_posts}} {{/data}}
</main>
</body>
</html>