fix application of template
This commit is contained in:
parent
cfdf734eb5
commit
024034b342
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue