summaryrefslogtreecommitdiffstats
path: root/src/themes/serene/templates/shortcodes/collection.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/serene/templates/shortcodes/collection.html')
-rw-r--r--src/themes/serene/templates/shortcodes/collection.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/themes/serene/templates/shortcodes/collection.html b/src/themes/serene/templates/shortcodes/collection.html
deleted file mode 100644
index c217a0c..0000000
--- a/src/themes/serene/templates/shortcodes/collection.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% import 'macros/collection.html' as marcos -%}
-
-{% set data = load_data(path="content" ~ section.path ~ file, format="toml") %}
-
-<section class="collection-wrapper">
-{% for item in data.collection %}
- {% if item.type == "card" %}
- {{ marcos::card(item=item) }}
- {% elif item.type == "card_simple" %}
- {{ marcos::card_simple(item=item) }}
- {% elif item.type == "entry" %}
- {{ marcos::entry(item=item) }}
- {% elif item.type == "box" %}
- {{ marcos::box(item=item) }}
- {% elif item.type == "art" %}
- {{ marcos::art(item=item) }}
- {% elif item.type == "art_simple" %}
- {{ marcos::art_simple(item=item) }}
- {% elif item.type == "br" %}
- <br />
- {% endif %}
-{% endfor %}
-</section>