fix application of template

This commit is contained in:
Mylloon 2024-04-01 01:29:58 +02:00
parent cfdf734eb5
commit 024034b342
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,15 +3,19 @@
<head dir="ltr">
{{>head.html}}
<link rel="stylesheet" href="/css/cours.css" />
{{#data}} {{#content}} {{#metadata}}
{{#math}}{{>libs/katex_head.html}}{{/math}}
{{#syntax_highlight}}{{>libs/hljs_head.html}}{{/syntax_highlight}}
{{/metadata}} {{/content}}
</head>
<body>
<header>{{>navbar.html}}</header>
<aside>
<span data-json="{{#data}}{{filetree}}{{/data}} "></span>
<span data-json="{{filetree}} "></span>
</aside>
<main>
{{#data}} {{^content}}
{{^content}}
<p>Fichier introuvable</p>
{{/content}} {{#content}}
<article>{{&content}}</article>