diff --git a/_templates/postcard_categories.html b/_templates/postcard_categories.html index 053d86bfc..632ae89b1 100644 --- a/_templates/postcard_categories.html +++ b/_templates/postcard_categories.html @@ -11,12 +11,10 @@ {% endif %} {%- endmacro -%} - -{%- macro category_item(name, icon, active) -%} +{%- macro category_item(name, active) -%} - - - + {{ name }} + {%- endmacro -%} @@ -33,32 +31,16 @@

{% set b_bool = "beginner" in post.category|map('string') %} {% set a_bool = "advanced" in post.category|map('string') %}
-
+
- {{ category_item("beginner", "fa-crow", b_bool) }} + {{ category_item("beginner", b_bool) }}
- {{ category_item("intermediate", "fa-dove", i_bool) }} + {{ category_item("intermediate", i_bool) }}
- {{ category_item("advanced", "fa-dragon", a_bool) }} + {{ category_item("advanced", a_bool) }}
- - -
-
- {% set t_bool = "tutorial" in post.category|map('string') %} - - {% set h_bool = "how-to" in post.category|map('string') %} - -
- {% set e_bool = "explanation" in post.category|map('string') %} - - {% set r_bool = "reference" in post.category|map('string') %} - -
-
-