mylloon.fr/templates/blog/post.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

32 lines
1,006 B
HTML

<!DOCTYPE html>
<html class="index" lang="fr">
<head dir="ltr">
{{>blog/head.html}}
<link rel="stylesheet" href="/css/blog/post.css" />
{{#data}} {{#post}} {{#metadata}}
{{#math}}{{>libs/katex_head.html}}{{/math}}
{{#syntax_highlight}}{{>libs/hljs_head.html}}{{/syntax_highlight}}
</head>
<body class="index">
<header>
{{#info}}
<h1>{{title}}</h1>
{{#date}}
<p>{{>blog/date.html}}</p>
{{/date}} {{/info}} {{/metadata}} {{/post}}
</header>
<main>
{{^post}}
<p>This post doesn't exist... sorry</p>
{{/post}} {{#post}}
<article>{{&content}}</article>
{{/post}}
</main>
{{>blog/footer.html}} {{#post}} {{#metadata}}
{{#mermaid}}{{>libs/mermaid_footer.html}}{{/mermaid}}
{{#math}}{{>libs/katex_footer.html}}{{/math}}
{{#syntax_highlight}}{{>libs/hljs_footer.html}}{{/syntax_highlight}}
{{/metadata}} {{/post}} {{/data}}
<script src="/js/custom_img_size.js"></script>
</body>
</html>