From ea058a851098bf81cb645249e02d26a8c253db90 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 8 May 2022 21:47:45 +0200 Subject: 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. --- templates/post.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'templates/post.html') 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 @@ - <% include!("head.html"); %> + <% include!("head.html"); %> <% include!("simple_header.html"); %>
- <%- content %> - + <%- content %> +
+ + -- cgit v1.2.3