aboutsummaryrefslogtreecommitdiff
path: root/assets
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 /assets
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 'assets')
-rw-r--r--assets/post1.html9
-rw-r--r--assets/post2.html9
2 files changed, 0 insertions, 18 deletions
diff --git a/assets/post1.html b/assets/post1.html
deleted file mode 100644
index 6eafb91..0000000
--- a/assets/post1.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<section>
- <h2>Title</h2>
- <p>
- Nice content
- <code>
- My code here
- </code>
- </p>
-</section>
diff --git a/assets/post2.html b/assets/post2.html
deleted file mode 100644
index 077734e..0000000
--- a/assets/post2.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<section>
- <h2>Title</h2>
- <p>
- Nice content 2
- <code>
- My code here
- </code>
- </p>
-</section>