diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-08 21:47:45 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-08 21:47:45 +0200 |
commit | ea058a851098bf81cb645249e02d26a8c253db90 (patch) | |
tree | c245a133119b1a4bf6168a16c89b22b6e04d319e /templates/simple_header.html | |
parent | 189166e2f44ca69537fa632032ec7ab252595d1b (diff) | |
download | macroblog.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/simple_header.html')
-rw-r--r-- | templates/simple_header.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/simple_header.html b/templates/simple_header.html index 0132334..4382df4 100644 --- a/templates/simple_header.html +++ b/templates/simple_header.html @@ -4,9 +4,7 @@ <li><strong><a href="/">Yet Another Blog</a></strong></li> </ul> <ul> - <li><a class="secondary">Posts</a></li> - <li><a class="secondary">Projects</a></li> - <li><a class="secondary">Resume</a></li> + <li><a href="https://gitlab.com/gabrielgio/cv/-/raw/main/cv.pdf?inline=false" class="secondary">Resume</a></li> </ul> </nav> </header> |