summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authorRochDLY <roch.delannay@gmail.com>2023-11-07 15:08:43 +0100
committerRochDLY <roch.delannay@gmail.com>2023-11-07 15:08:43 +0100
commitd83836a971f54982bfcde5750834dfe4da369dc1 (patch)
tree55e8ac3e204ad4bf708fde2700d75dfc261f3c17 /templates/post.html
downloadpandoc-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.html43
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