From 84deb41dbfec043ba8959d7b511c950d3b6a2dd3 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 27 Oct 2022 20:03:10 +0200 Subject: [PATCH] Fix using databag for featured proj --- databags/featured.ini | 9 +++++---- templates/index.html | 8 ++++---- templates/projects.html | 0 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 templates/projects.html diff --git a/databags/featured.ini b/databags/featured.ini index 29d1aae..a1dc824 100644 --- a/databags/featured.ini +++ b/databags/featured.ini @@ -1,8 +1,9 @@ -[lucahboad] +[lucahboad] title = Lucah Born Of A Dream -path = /projects/lucahboad/ +path = "/projects/lucahboad/" sort_key = 0 -[butterflysoup] + +[butterflysoup] title = Butterfly Soup -path = /projects/butterflysoup/ +path = "/projects/butterflysoup/" sort_key = 1 diff --git a/templates/index.html b/templates/index.html index 21e0ed6..cfaffe6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,15 +6,15 @@
{% for id, item in bag('featured').items() %} - {% set image = url(item.path+'main.jpg') %} + {% set image = item.path+'main.jpg' %}
-
project image
-
+
project image
+
diff --git a/templates/projects.html b/templates/projects.html new file mode 100644 index 0000000..e69de29