From 97c19c29cd3b9d7d69e103b6b78cd299a6428086 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Tue, 23 Feb 2021 14:23:15 +0300 Subject: add categories to art page whooah! there is some tough liquid-tagging involved. --- _includes/pic-path.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _includes/pic-path.html (limited to '_includes/pic-path.html') diff --git a/_includes/pic-path.html b/_includes/pic-path.html new file mode 100644 index 0000000..fed2367 --- /dev/null +++ b/_includes/pic-path.html @@ -0,0 +1,8 @@ +{%- capture arts -%} +{%- for file in site.static_files -%} + {%- if file.art and file.path contains page.title -%} + {{ file.path }} + {% endif %} +{%- endfor -%} +{%- endcapture -%} +{% assign artpics = arts | split: " " %} -- cgit v1.2.3