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/art-menu.html | 19 -------- _includes/footer.html | 36 --------------- _includes/music-project-release-by-year.html | 17 ------- _includes/music-project-release-info.html | 68 ---------------------------- _includes/music-projects-list.html | 20 -------- _includes/navigation.html | 15 ------ _includes/pic-path.liquid | 26 ----------- _includes/post-preview.html | 14 ------ _includes/title-with-backlink.html | 4 -- 9 files changed, 219 deletions(-) delete mode 100644 _includes/art-menu.html delete mode 100644 _includes/footer.html delete mode 100644 _includes/music-project-release-by-year.html delete mode 100644 _includes/music-project-release-info.html delete mode 100644 _includes/music-projects-list.html delete mode 100644 _includes/navigation.html delete mode 100644 _includes/pic-path.liquid delete mode 100644 _includes/post-preview.html delete mode 100644 _includes/title-with-backlink.html (limited to '_includes') diff --git a/_includes/art-menu.html b/_includes/art-menu.html deleted file mode 100644 index b715016..0000000 --- a/_includes/art-menu.html +++ /dev/null @@ -1,19 +0,0 @@ - diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index 16b6cc0..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,36 +0,0 @@ - diff --git a/_includes/music-project-release-by-year.html b/_includes/music-project-release-by-year.html deleted file mode 100644 index 160537f..0000000 --- a/_includes/music-project-release-by-year.html +++ /dev/null @@ -1,17 +0,0 @@ -{%- assign releases = include.releases %} -{%- assign print_author = include.print_author %} -
-

{{ include.title }}

- - {% for year_group in releases %} -
-

{{ year_group.name }}

- {%- for release in year_group.items -%} - {% include music-project-release-info.html - release=release - print_author=print_author %} - {%- endfor -%} -
- {%- endfor -%} -
diff --git a/_includes/music-project-release-info.html b/_includes/music-project-release-info.html deleted file mode 100644 index a4650bd..0000000 --- a/_includes/music-project-release-info.html +++ /dev/null @@ -1,68 +0,0 @@ -{%- assign release = include.release %} -{%- assign print_author = include.print_author %} - -
- -

{% if print_author %} - {% assign author_page = site.music_projects | - find: "title", release.author %} - {{ release.author }} - — - {% endif %} - {% if release.r_tag %} - - {{ release.title }} - - {% else %} - {{ release.title }} - {% endif %} - {% if release.r_tag %} - - ({{ release.type }}) - {% endif %} - {%- if release.bandcamp -%} - - listen on bandcamp - - {%- endif -%} -

- -

released {{ release.date | date_to_string }} - / {{ release.style }} -

- - {%- if release.r_tag -%} -
tracklist
-
- {%- assign release_tracks = site.music_titles | - where: "r_tag", release.r_tag | sort: "num" -%} -
    - {%- for track in release_tracks -%} -
  1. - {%- if release.author == track.author -%} - {{ track.title }} - {%- else -%} - {%- assign - t_a_has_url = site.music_projects - | find: "title", track.author -%} - {%- if t_a_has_url -%} - - {{ track.author }} - {%- else -%} - {{ track.author }} - {% endif %} - — {{ track.title }} - {% endif %} -
  2. - {% endfor %} -
-
- {%- endif -%} - - {{ release.content | markdownify }} - -
diff --git a/_includes/music-projects-list.html b/_includes/music-projects-list.html deleted file mode 100644 index e561b09..0000000 --- a/_includes/music-projects-list.html +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/_includes/navigation.html b/_includes/navigation.html deleted file mode 100644 index b92bf7f..0000000 --- a/_includes/navigation.html +++ /dev/null @@ -1,15 +0,0 @@ - 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: " " %} diff --git a/_includes/post-preview.html b/_includes/post-preview.html deleted file mode 100644 index aaa1d1b..0000000 --- a/_includes/post-preview.html +++ /dev/null @@ -1,14 +0,0 @@ -
-

- {{ post.title }} -

- {{ post.excerpt }} -

- read more... -

- - {{ post.date | date_to_string }} / - {% for tag in post.tags %}{{tag}} - {% endfor %} - -
diff --git a/_includes/title-with-backlink.html b/_includes/title-with-backlink.html deleted file mode 100644 index ee7a10e..0000000 --- a/_includes/title-with-backlink.html +++ /dev/null @@ -1,4 +0,0 @@ - -- cgit v1.2.3