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 /_layouts/music-project.html | |
| 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 '_layouts/music-project.html')
| -rw-r--r-- | _layouts/music-project.html | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/_layouts/music-project.html b/_layouts/music-project.html deleted file mode 100644 index 7437206..0000000 --- a/_layouts/music-project.html +++ /dev/null @@ -1,66 +0,0 @@ ---- -layout: default ---- - -<!-- TODO: add physical release links--> -<!-- TODO: add sound for albums that aren't available on bandcamp --> -<!-- TODO: maybe add search by tag for music projects --> -<!-- TODO: add album art --> - -<div class="music-project"> - - <div class="music-project-titlebar"> - {% include title-with-backlink.html title=page.title backlink="/music/" %} - </div> - - <div class="music-project-sidebar"> - <a href="/visual/logos/{{ page.url | split: "/" | last }}-logo.png"> - <img id="logo" - src="/visual/logos/thumbs/{{ page.url | split: "/" | last }}-logo_thumb.png" - alt="{{ page.title }} logo"> - </a> - <p>{{ page.start_date | date_to_string }}– - {%- if page.end_date -%} - {{ page.end_date | date_to_string }} - {%- else -%} - … - {%- endif -%} - {%- if page.status -%} -  ({{ page.status }}) - {%- endif -%} - </p> - <p>tags: {{ page.tags | join: ", " }}</p> - </div> - - <div class="music-project-info"> - - {{ page.content | markdownify }} - - </div> - - {%- if page.title == "hälsorisk" %} - {%- assign releases = site.music_releases | - where_exp: "item", "item.r_tag contains 'HSR'" | - group_by_exp: "item", "item.date | date: '%Y'" -%} - {%- else %} - {%- assign releases = site.music_releases | - where: "author", page.title | - group_by_exp: "item", "item.date | date: '%Y'" -%} - {%- endif -%} - {%- assign releases.size = releases | size %} - {% unless releases.size == 0 %} - {%- if page.title == "hälsorisk" %} - {% include music-project-release-by-year.html title="releases" releases=releases print_author=true %} - {% else %} - {% include music-project-release-by-year.html title="releases" releases=releases %} - {% endif %} - {% endunless %} - - {%- assign misc_tracks = site.music_titles | - where_exp: "item", "item.author == page.title and item.r_tag == nil" | - group_by_exp: "item", "item.date | date: '%Y'" -%} - {%- assign misc_tracks.size = misc_tracks | size %} - {% unless misc_tracks.size == 0 %} - {% include music-project-release-by-year.html title="misc tracks" releases=misc_tracks %} - {% endunless %} -</div> |
