aboutsummaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2022-04-19 00:24:23 +0300
committerla-ninpre <leobrekalini@gmail.com>2022-04-19 00:32:37 +0300
commit8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0 (patch)
treee5054517b940e5c535a4c7282d7faa7b6462e794 /_includes
parent9f4b181b36418669462c0300c2e090d0f4547dc8 (diff)
downloadaaoth.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')
-rw-r--r--_includes/art-menu.html19
-rw-r--r--_includes/footer.html36
-rw-r--r--_includes/music-project-release-by-year.html17
-rw-r--r--_includes/music-project-release-info.html68
-rw-r--r--_includes/music-projects-list.html20
-rw-r--r--_includes/navigation.html15
-rw-r--r--_includes/pic-path.liquid26
-rw-r--r--_includes/post-preview.html14
-rw-r--r--_includes/title-with-backlink.html4
9 files changed, 0 insertions, 219 deletions
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 @@
-<ul class="art-menu">
-{%- for page in site.pages -%}
- {%- include pic-path.liquid -%}
- {%- assign pagedir = page.dir | remove_first: "/" | split: "/" -%}
- {%- if pagedir.first == "visual" and pagedir.size > 1 -%}
- <li class="art-menu-item">
- <a class="art-menu-item-mask" href="{{ page.url }}">
- <span class="art-menu-item-text">
- {{ page.title }}
- </span>
- </a>
- <div class="art-menu-item-img">
- <img src="{{ artthumbs | sample }}"
- alt="{{ page.title }} preview">
- </div>
- </li>
- {% endif %}
-{%- endfor -%}
-</ul>
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 @@
-<footer>
- <hr>
- <p>
- all site contents are licensed under
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
- cc-by-sa-4.0
- </a>
- </p>
- <p>
- gpg:
- <a href="/pgp.asc">
- 405C2C163EF6A2C9
- </a>
- </p>
- <p>
- <a rel="alt" href="http://[301:cec9:b4fc:5a23::1]">
- yggdrasil
- </a>
- |
- <a rel="alt" href="http://aaothltwqdq5cxyllcmjegoffb4qpyggodxsn7z2uwegfdscfww5trid.onion">
- onion
- </a>
- |
- <a rel="alt" href="http://aaoth5tidbhizgerysxlfrqmg5t7jzb76zt6lattwjj3up524qwa.b32.i2p">
- i2p
- </a>
- (<a href="http://aaoth.i2p/?i2paddresshelper=lWQct4-sbrkEzDXoJ9mIuK1o5ON0fPVBD1k9ezES9lKtVeqPOh8Kn4ryjvQaPuhvIpflKG3XIPmTGmeQ8gwLvqU0wTPy29bO5LLeSaVxnguR80OqznzKpnRz~h8Ujs5qOLcXkqVnnImidqUosUEZ3rw62KThqNvlhPLTBeioH7Klxlo3j20fy7SlAnRk8zQKuJxs601BwPG1dATX76sqA0XWqb0p72yH-gFNDL~Tu70G-iuHix4AbEArDfqWi8j5uL1uM9TUjV-jQybfqIMS0fRbqpTyCxN-qkWBCgVm3XzLzSx0bbTkLWZ83GWbgEW9mQ20p6A-lulf8aWrK~PeD030l0CvTSSRRcIkChsjvuWtog40rUSf-JrqYMZNgTeoRfn0dQofd59gb0dmkMO6jSOdKICCbFaVfrbHHU7eeu8qyg0wwLDs5jit77nrGfSVHRtI7bjlvJ6gxSAbhIGwBdyLPvp~bM-e~9X5bw355srWSqaStGKqKGPc9MhPd9h0BQAEAAcAAA==">
- addresshelper
- </a>)
- </p>
- <p>
- <a href="https://git.aaoth.xyz/aaoth.xyz.git/about">
- site source
- </a>
- </p>
-</footer>
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 %}
-<div class="music-project-release-list">
- <h2>{{ include.title }}</h2>
-
- {% for year_group in releases %}
- <div class="music-project-release-by_year"
- id="releases_{{ year_group.name }}">
- <h3 class="music-project-release-year">{{ year_group.name }}</h3>
- {%- for release in year_group.items -%}
- {% include music-project-release-info.html
- release=release
- print_author=print_author %}
- {%- endfor -%}
- </div>
- {%- endfor -%}
-</div>
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>
- &mdash;
- {% 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 %}
- &mdash; {{ track.title }}
- {% endif %}
- </li>
- {% endfor %}
- </ol>
- </div>
- {%- endif -%}
-
- {{ release.content | markdownify }}
-
-</div>
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 @@
-<ul class="music-project-list">
-{% for project in include.projects %}
- <li class="music-project-list-item">
- <a class="music-project-list-item-mask"
- href="{{ project.url }}">
- <span class="music-project-list-item-text">
- {{ project.title }}
- </span>
- <strong>{{ project.description }}</strong>
- {%- if project.roles -%}
- <em>({{ project.roles | split: " " | join: ", "}})</em>
- {%- endif -%}
- </a>
- <div class="music-project-list-item-img">
- <img src="/visual/logos/thumbs/{{ project.logo }}_thumb.png"
- alt="">
- </div>
- </li>
-{% endfor %}
-</ul>
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 @@
-<nav>
- <img src="/assets/img/aaoth-logo.png" alt="aaoth website logo"
- width="376" height="102">
- <ul>
- {%- for item in site.data.navigation -%}
- <li>
- <a href="{{ item.link }}"
- {% if page.url == item.link %}class="current"{% endif %}>
- {{ item.name }}
- </a>
- </li>
- {%- endfor -%}
- </ul>
- <hr>
-</nav>
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 @@
-<div class="post">
- <h2 id="{{ post.title | slugify }}">
- <a href="{{ post.url }}">{{ post.title }}</a>
- </h2>
- {{ post.excerpt }}
- <p>
- <a href="{{ post.url }}">read more...</a>
- </p>
- <small>
- {{ post.date | date_to_string }} /
- {% for tag in post.tags %}<a href="/tags/{{tag}}">{{tag}} </a>
- {% endfor %}
- </small>
-</div>
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 @@
-<div class="title_with_backlink">
- <h1>{{ include.title }}</h1>
- <a class="backlink" href="{{ include.backlink }}">go back</a>
-</div>