mylloon.fr/templates/blog/index.html
Mylloon 2cc1f953ca
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
fix align issue
2023-08-14 18:19:45 +02:00

34 lines
810 B
HTML

<!DOCTYPE html>
<html class="index" lang="fr">
<head dir="ltr">
{{>blog/head.html}}
<link rel="stylesheet" href="/css/blog/index.css" />
</head>
<body class="index">
{{#data}}
<h1>Blog</h1>
<nav><a id="rss" href="/blog/rss">RSS</a></nav>
<hr />
{{#no_posts}}
<h2 class="subtitle" style="text-align: center">Aucun posts</h2>
{{/no_posts}} {{^no_posts}}
<div class="timeline">
<ul>
{{#posts}}
<li onclick="location.href='/blog/p/{{url}}';">
{{>blog/date.html}}
<div class="content">
<h2>{{title}}</h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}
</div>
</li>
{{/posts}}
</ul>
</div>
{{/no_posts}} {{/data}} {{>footer.html}}
</body>
</html>