+
{% include "partials/blogPosts.html" %}
{% include "partials/blogSidebar.html" %}
{% endblock content %}
+
diff --git a/templates/partials/blogPosts.html b/templates/partials/blogPosts.html
index 9b6d951..8c7d6cd 100644
--- a/templates/partials/blogPosts.html
+++ b/templates/partials/blogPosts.html
@@ -1,6 +1,6 @@
-
+
{% set path_array = current_path | split(pat="/") %}
{% set taxonomy = path_array[1] %}
diff --git a/templates/partials/blogSidebar.html b/templates/partials/blogSidebar.html
index 66cdcfb..8001ef7 100644
--- a/templates/partials/blogSidebar.html
+++ b/templates/partials/blogSidebar.html
@@ -1,14 +1,24 @@
+
+
+
{% set path_array = current_path | split(pat="/") %}
{% set taxonomy = path_array[1] %}
diff --git a/templates/partials/blogSidebar.html b/templates/partials/blogSidebar.html
index 66cdcfb..8001ef7 100644
--- a/templates/partials/blogSidebar.html
+++ b/templates/partials/blogSidebar.html
@@ -1,14 +1,24 @@
+
+
+
+
FILTER POSTS BY
- All
+ All
{% set taxonomy = get_taxonomy(kind="categories") %}
{% set categories = taxonomy.items %}
{% for category in categories %}
{% set path = category.name | slugify %}
{% set fullpath = "/categories/" ~ path %}
- {{category.name}}
+ {{category.name}}
{% endfor %}
diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html
index 1874614..617537c 100644
--- a/templates/partials/featuredBlog.html
+++ b/templates/partials/featuredBlog.html
@@ -1,12 +1,12 @@
-
-
+
+
-
-
+
+
diff --git a/templates/partials/header.html b/templates/partials/header.html
index 0ee1115..92f8a06 100644
--- a/templates/partials/header.html
+++ b/templates/partials/header.html
@@ -64,9 +64,7 @@
window.onload = function(){
let elements = document.getElementsByTagName("button");
let buttons = [...elements]
- console.log("logg:", buttons)
buttons.forEach((button) => {
- console.log("logg:", button)
button.addEventListener( 'click', function() { handleClick(button) });
})
diff --git a/templates/partials/postCard.html b/templates/partials/postCard.html
index b881131..1ca7645 100644
--- a/templates/partials/postCard.html
+++ b/templates/partials/postCard.html
@@ -1,6 +1,6 @@
-
+
FILTER POSTS BY
- All + All {% set taxonomy = get_taxonomy(kind="categories") %} {% set categories = taxonomy.items %} {% for category in categories %} {% set path = category.name | slugify %} {% set fullpath = "/categories/" ~ path %} - {{category.name}} + {{category.name}} {% endfor %}
-
+
+
-
-
+
diff --git a/templates/partials/header.html b/templates/partials/header.html
index 0ee1115..92f8a06 100644
--- a/templates/partials/header.html
+++ b/templates/partials/header.html
@@ -64,9 +64,7 @@
window.onload = function(){
let elements = document.getElementsByTagName("button");
let buttons = [...elements]
- console.log("logg:", buttons)
buttons.forEach((button) => {
- console.log("logg:", button)
button.addEventListener( 'click', function() { handleClick(button) });
})
diff --git a/templates/partials/postCard.html b/templates/partials/postCard.html
index b881131..1ca7645 100644
--- a/templates/partials/postCard.html
+++ b/templates/partials/postCard.html
@@ -1,6 +1,6 @@
+
-
+