mylloon.fr/templates/blog/index.html
Mylloon 2bec742bb2
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
add post title and date
2023-04-25 03:29:55 +02:00

31 lines
717 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/{{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>