mylloon.fr/templates/blog/index.html

41 lines
902 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>
2024-01-25 18:23:12 +01:00
{{#about}} {{&content}} {{/about}}
<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}}
2023-10-16 11:39:43 +02:00
<li role="button" onclick="window.open('/blog/p/{{url}}', '_parent');">
2023-04-25 03:29:55 +02:00
{{>blog/date.html}}
2024-05-16 16:54:35 +02:00
<h2><a href="/blog/p/{{url}} ">{{title}}</a></h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}
2023-04-24 18:01:38 +02:00
</li>
{{/posts}}
</ul>
{{/no_posts}} {{/data}}
</main>
</body>
</html>