mylloon.fr/templates/blog/index.html
Mylloon 39fde5225d
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
post now available on /p
2023-04-26 10:41:49 +02:00

31 lines
719 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>
{{#no_posts}}
<h2 class="subtitle">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>