From 8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Tue, 19 Apr 2022 00:24:23 +0300 Subject: reimplement website using shell scripts major change, i know. now i'm using ssg and rssg by roman zolotarev. okay, well, not exactly. ssg is modified to generate pages for gemini too. it's hard to maintain two different things simultaneously. bye-bye jekyll! --- _includes/pic-path.liquid | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 _includes/pic-path.liquid (limited to '_includes/pic-path.liquid') diff --git a/_includes/pic-path.liquid b/_includes/pic-path.liquid deleted file mode 100644 index 810f227..0000000 --- a/_includes/pic-path.liquid +++ /dev/null @@ -1,26 +0,0 @@ -{% comment %} - the purpose of this file is to provide arrays to use for art browsing -{% endcomment %} - -{%- capture arts -%} -{%- for file in site.static_files -%} - {%- if file.art and file.path contains page.title and file.thumbnail != true -%} - {{ file.path }} - {% endif %} -{%- endfor -%} -{%- endcapture -%} -{% assign artpics = arts | split: " " %} - -{%- capture arts_thumbs -%} -{%- for art in artpics -%} - {%- assign art_ext = art | split: "." | last -%} - {%- assign art_basepath = art | split: "." | first -%} - {%- assign art_name = art_basepath | split: "/" | last -%} - {%- assign art_thumbpath = art_basepath \ - | remove: art_name | append: "thumbs/" \ - | append: art_name | append: "_thumb." | append: art_ext \ - | append: " " -%} - {{ art_thumbpath }} -{%- endfor -%} -{%- endcapture -%} -{% assign artthumbs = arts_thumbs | split: " " %} -- cgit v1.2.3