mylloon.fr/templates/blog/index.html
Mylloon aa1ba564dc
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
add missing mail obfuscater injection
2024-06-02 20:02:23 +02:00

44 lines
1 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head dir="ltr">
{{>head.html}}
<link
rel="alternate"
type="application/rss+xml"
title="RSS"
href="/blog/rss"
/>
<link rel="stylesheet" href="/css/blog/index.css" />
</head>
<body>
<header>{{>navbar.html}}</header>
<main>
{{#data}}
<h1>Blog</h1>
{{#about}} {{&content}} {{/about}}
<a id="rss" href="/blog/blog.rss">Lien vers le flux RSS</a>
{{#no_posts}}
<h2>Aucun posts</h2>
{{/no_posts}} {{^no_posts}}
<ul>
{{#posts}}
<li role="button" onclick="window.open('/blog/p/{{url}}', '_parent');">
{{>blog/date.html}}
<h2><a href="/blog/p/{{url}} ">{{title}}</a></h2>
{{#desc}}
<p>{{desc}}</p>
{{/desc}}
</li>
{{/posts}}
</ul>
{{/no_posts}}
</main>
{{#about}} {{#metadata}}
{{#mail_obfsucated}}{{>libs/mail_obfuscater.html}}{{/mail_obfsucated}}
{{/metadata}} {{/about}} {{/data}}
</body>
</html>