Mylloon
f84a37829c
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Rework metadata, now each type of file based on markdown have his own metadata struct (blog/portfolio/contacts) - Contact is now generated by markdown files Reviewed-on: #38 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
42 lines
1.2 KiB
HTML
42 lines
1.2 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/post.css" />
|
|
{{#data}} {{#post}} {{#metadata}}
|
|
{{#math}}{{>libs/katex_head.html}}{{/math}}
|
|
{{#syntax_highlight}}{{>libs/hljs_head.html}}{{/syntax_highlight}}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
{{>navbar.html}} {{#info}} {{#blog}}
|
|
<h1>{{title}}</h1>
|
|
{{#date}} {{>blog/date.html}} {{/date}}
|
|
<ul>
|
|
{{#tags}}
|
|
<li>{{name}}</li>
|
|
{{/tags}}
|
|
</ul>
|
|
{{/blog}} {{/info}} {{/metadata}} {{/post}}
|
|
</header>
|
|
<main>
|
|
{{^post}}
|
|
<p>This post doesn't exist... sorry</p>
|
|
{{/post}} {{#post}} {{&toc}}
|
|
<article>{{&content}}</article>
|
|
{{/post}}
|
|
</main>
|
|
{{#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>
|