From c9998141ec620f61debc8b844646e034a544cad8 Mon Sep 17 00:00:00 2001 From: hms12 <45968885+hms12@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:51:57 +0100 Subject: [PATCH] Create testcoffin_catalogue.md --- testcoffin_catalogue.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testcoffin_catalogue.md diff --git a/testcoffin_catalogue.md b/testcoffin_catalogue.md new file mode 100644 index 00000000..4ca58818 --- /dev/null +++ b/testcoffin_catalogue.md @@ -0,0 +1,32 @@ +--- +layout: coffins +title: TEST Catalogue of coffins +description: "A catalogue of Egyptian coffins in the Fitzwilliam Museum" +permalink: /test_coffin-catalogue +id: catalogue +category: catalogue +--- +{% assign rows = site.catalogue.size | divided_by: 2.0 | ceil %} +{% for i in (1..rows) %} + {% assign offset = forloop.index0 | times: 2 %} +
+ {% assign sorted = site.catalogue | sort:"order" %} + {% for catalogue in sorted limit:2 offset:offset %} +
+
+
+ {{page.title}}'s image +
{{catalogue.title}}
+ +

+ {{ catalogue.content | strip_html | truncatewords: 20}} +

+ + Read more +
+
+
+ {% endfor %} +
+{% endfor %}