mylloon.fr/templates/blog/post.html

43 lines
1.2 KiB
HTML
Raw Normal View History

2023-04-19 18:55:03 +02:00
<!DOCTYPE html>
<html lang="fr">
2023-04-24 17:22:12 +02:00
<head dir="ltr">
{{>head.html}}
<link
rel="alternate"
type="application/rss+xml"
title="RSS"
href="/blog/rss"
/>
2023-04-24 17:25:40 +02:00
<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}}
2023-04-24 17:22:12 +02:00
</head>
<body>
2023-04-25 03:29:55 +02:00
<header>
2023-10-20 18:15:50 +02:00
{{>navbar.html}} {{#info}} {{#blog}}
2023-04-25 03:29:55 +02:00
<h1>{{title}}</h1>
2023-05-02 16:02:50 +02:00
{{#date}} {{>blog/date.html}} {{/date}}
<ul>
{{#tags}}
<li>{{name}}</li>
{{/tags}}
</ul>
2023-10-20 18:15:50 +02:00
{{/blog}} {{/info}} {{/metadata}} {{/post}}
2023-04-25 03:29:55 +02:00
</header>
2023-04-19 18:55:03 +02:00
<main>
{{^post}}
<p>This post doesn't exist... sorry</p>
2023-05-02 23:10:36 +02:00
{{/post}} {{#post}} {{&toc}}
2023-04-19 18:55:03 +02:00
<article>{{&content}}</article>
{{/post}}
</main>
{{#post}} {{#metadata}}
2023-04-24 17:22:12 +02:00
{{#mermaid}}{{>libs/mermaid_footer.html}}{{/mermaid}}
{{#math}}{{>libs/katex_footer.html}}{{/math}}
{{#syntax_highlight}}{{>libs/hljs_footer.html}}{{/syntax_highlight}}
2023-04-24 17:25:40 +02:00
{{/metadata}} {{/post}} {{/data}}
2023-04-24 17:22:12 +02:00
<script src="/js/custom_img_size.js"></script>
2023-04-19 18:55:03 +02:00
</body>
</html>