mylloon.fr/templates/blog/index.html
Mylloon 14da5b8bd5
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
add rss link
2023-04-26 17:42:17 +02:00

34 lines
783 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">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>