summaryrefslogtreecommitdiff
path: root/templates/post.html
blob: c349cf03a8c3483afa0fcf046744c61e1686d739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="${lang}" xml:lang="${lang}">
    <head>
        ${partials/head.html()}
    </head>
    <body>
        ${partials/header.html()}
        ${if(toc)}
        <div class="side">

            <nav class="toc">
${table-of-contents}
            </nav>
        </div>
        ${endif}
            <div class="container">
${if(title)}
                <header class="header-bloc">
                    <h1>${title}</h1>
${if(subtitle)}
                    <h2>${subtitle}</h2>
${endif}
${if(date)}
                    <time>${date}</time>
${endif}
${if(author)}
                    <p>${author}</p>
${endif}
                </header>
${endif}
${if(body)}
                <div class="content">
${body}
${if(refs)}
                <h2>Références</h2>
${refs}
${endif}
            </div>
${endif}
        </div>
${partials/footer.html()}
    </body>
</html>