mylloon.fr/templates/blog/post.html

44 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2023-04-19 18:55:03 +02:00
<!DOCTYPE html>
2024-12-22 22:20:44 +01:00
<html lang="{{lang}}">
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>
{{>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>
{{/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}}
2024-05-03 12:49:50 +02:00
{{#mail_obfsucated}}{{>libs/mail_obfuscater.html}}{{/mail_obfsucated}}
2023-04-24 17:25:40 +02:00
{{/metadata}} {{/post}} {{/data}}
<script src="/js/markdown.js"></script>
2023-04-19 18:55:03 +02:00
</body>
</html>