aboutsummaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 21:47:45 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 21:47:45 +0200
commitea058a851098bf81cb645249e02d26a8c253db90 (patch)
treec245a133119b1a4bf6168a16c89b22b6e04d319e /templates/post.html
parent189166e2f44ca69537fa632032ec7ab252595d1b (diff)
downloadmacroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.tar.gz
macroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.tar.bz2
macroblog.rs-ea058a851098bf81cb645249e02d26a8c253db90.zip
ref: Add embded rust and router
- Use embed rust to load and resolve file from `content/post` folder, so the whole process is a bit more dynamic. - Add router to to resolve the path. It is the first step to try to get the code a bit cleaner.
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/post.html b/templates/post.html
index 68211c1..410cfbf 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,13 +1,16 @@
<!DOCTYPE html>
<html data-theme="light" lang="en">
<head>
- <% include!("head.html"); %>
+ <% include!("head.html"); %>
</head>
<body>
<% include!("simple_header.html"); %>
<main class="container">
- <%- content %>
-</section>
+ <%- content %>
+ </section>
</main>
</body>
+
+<script>
+</script>
</html>