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/music-project-release-info.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 '_includes/music-project-release-info.html')
| -rw-r--r-- | _includes/music-project-release-info.html | 68 |
1 files changed, 0 insertions, 68 deletions
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 %} - -<div class="music-project-release-info" - id="{{ release.title | slugify }}"> - - <h4>{% if print_author %} - {% assign author_page = site.music_projects | - find: "title", release.author %} - <a href="{{ author_page.permalink }}">{{ release.author }}</a> - — - {% endif %} - {% if release.r_tag %} - <a href="{{ release.permalink }}"> - {{ release.title }} - </a> - {% else %} - {{ release.title }} - {% endif %} - {% if release.r_tag %} - <span class="music-project-release-type"> - ({{ release.type }})</span> - {% endif %} - {%- if release.bandcamp -%} - <a href="{{ release.bandcamp }}" - title="listen on bandcamp"> - <img src="/assets/img/bandcamp-icon.png" - alt="listen on bandcamp" - width="24" height="24"> - </a> - {%- endif -%} - </h4> - - <p>released {{ release.date | date_to_string }} - / <em>{{ release.style }}</em> - </p> - - {%- if release.r_tag -%} - <h5>tracklist</h5> - <div class="music-project-tracklist"> - {%- assign release_tracks = site.music_titles | - where: "r_tag", release.r_tag | sort: "num" -%} - <ol> - {%- for track in release_tracks -%} - <li value="{{ track.num }}"> - {%- 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 -%} - <a href="{{ t_a_has_url.url }}"> - {{ track.author }}</a> - {%- else -%} - {{ track.author }} - {% endif %} - — {{ track.title }} - {% endif %} - </li> - {% endfor %} - </ol> - </div> - {%- endif -%} - - {{ release.content | markdownify }} - -</div> |
