diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-04-19 00:24:23 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-04-19 00:32:37 +0300 |
| commit | 8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0 (patch) | |
| tree | e5054517b940e5c535a4c7282d7faa7b6462e794 /_includes/pic-path.liquid | |
| parent | 9f4b181b36418669462c0300c2e090d0f4547dc8 (diff) | |
| download | aaoth.xyz-8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0.tar.gz aaoth.xyz-8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0.zip | |
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!
Diffstat (limited to '_includes/pic-path.liquid')
| -rw-r--r-- | _includes/pic-path.liquid | 26 |
1 files changed, 0 insertions, 26 deletions
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: " " %} |
