diff options
author | RochDLY <roch.delannay@gmail.com> | 2023-11-07 15:08:43 +0100 |
---|---|---|
committer | RochDLY <roch.delannay@gmail.com> | 2023-11-07 15:08:43 +0100 |
commit | d83836a971f54982bfcde5750834dfe4da369dc1 (patch) | |
tree | 55e8ac3e204ad4bf708fde2700d75dfc261f3c17 /templates/post.html | |
download | pandoc-site-d83836a971f54982bfcde5750834dfe4da369dc1.tar.gz pandoc-site-d83836a971f54982bfcde5750834dfe4da369dc1.tar.bz2 pandoc-site-d83836a971f54982bfcde5750834dfe4da369dc1.zip |
git init du carnet généré avec make et pandoc
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..c349cf0 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,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>
\ No newline at end of file |