tidying up stuff i forgot to change
This commit is contained in:
parent
c091831537
commit
f20b697aed
77 changed files with 1014 additions and 660 deletions
|
@ -1,24 +1,23 @@
|
|||
---
|
||||
title: "Gallery"
|
||||
order: 4
|
||||
icon: "M 30 26 L 27 26 L 21 14 L 16 23 L 11 17 L 5 26 L 2 26 L 2 2 Q 2 2 10 6 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 6 L 2 2 L
|
||||
30 2 L 30 26 L 30 30 L 2 30 L 2 26"
|
||||
icon: "M 30 26 L 27 26 L 21 14 L 16 23 L 11 17 L 5 26 L 2 26 L 2 2 Q 2 2 10 6 A 1 1 0 0 0 10 13 A 1 1 0 0 0 10 6 L 2 2 L 30 2 L 30 26 L 30 30 L 2 30 L 2 26"
|
||||
---
|
||||
|
||||
<section id="artworks">
|
||||
<article>
|
||||
<h2>Original characters</h2>
|
||||
{%for article in collections.articles%} {%if article.fileSlug == 'ocs'%}
|
||||
{{ article.content }} {%endif%} {%endfor%}
|
||||
<ul role="list">
|
||||
{% assign sortedArtworks = collections.artworks | sortByFirstDate %} {%
|
||||
for artwork in sortedArtworks %}
|
||||
{% assign sortedArtworks = collections.artworks | sortByFirstDate %} {%for artwork in sortedArtworks %}
|
||||
<li>
|
||||
<a href="{{artwork.page.url}}">
|
||||
<figure>
|
||||
{% if artwork.data.images[0] %}
|
||||
{%if artwork.data.images[0]%}
|
||||
<img src="{{artwork.data.images[0].src}}" alt="{{artwork.data.images[0].alt}}" {%if artwork.data.images[0].pixel%} style="image-rendering: pixelated" {%endif%} />
|
||||
<figcaption>{{artwork.page.fileSlug}}</figcaption>
|
||||
<figcaption>{{artwork.page.fileSlug}}{%if artwork.data.images.size > 1%}<p class="count">(+{{artwork.data.images.size| minus: 1}})</p>{%endif%}</figcaption>
|
||||
{% if artwork.data.images[0].date %}
|
||||
<time datetime="{{artwork.data.images[0].date | ISO}}">{{artwork.data.images[0].date | readable}}</time>
|
||||
<time datetime="{{artwork.data.images[0].date|ISO}}">{{artwork.data.images[0].date|readable}}</time>
|
||||
{%endif%} {%endif%}
|
||||
</figure>
|
||||
</a>
|
||||
|
@ -27,18 +26,19 @@ icon: "M 30 26 L 27 26 L 21 14 L 16 23 L 11 17 L 5 26 L 2 26 L 2 2 Q 2 2 10 6 A
|
|||
</ul>
|
||||
</article>
|
||||
<article>
|
||||
<h2>Fan art</h2>
|
||||
{%for article in collections.articles%} {%if article.fileSlug == 'fanart'%}
|
||||
{{ article.content }} {%endif%} {%endfor%}
|
||||
<ul role="list">
|
||||
{% assign sortedFanarts = collections.fanarts | sortByFirstDate %} {% for
|
||||
fanart in sortedFanarts %}
|
||||
{%assign sortedFanarts = collections.fanarts|sortByFirstDate%} {%for
|
||||
fanart in sortedFanarts%}
|
||||
<li>
|
||||
<a href="{{fanart.page.url}}">
|
||||
<figure>
|
||||
{% if fanart.data.images[0] %}
|
||||
{%if fanart.data.images[0]%}
|
||||
<img src="{{fanart.data.images[0].src}}" alt="{{fanart.data.images[0].alt}}" />
|
||||
<figcaption>{{fanart.page.fileSlug}}</figcaption>
|
||||
{% if fanart.data.images[0].date %}
|
||||
<time datetime="{{fanart.data.images[0].date | ISO}}">{{fanart.data.images[0].date | readable}}</time>
|
||||
{%if fanart.data.images[0].date%}
|
||||
<time datetime="{{fanart.data.images[0].date|ISO}}">{{fanart.data.images[0].date|readable}}</time>
|
||||
{%endif%} {%endif%}
|
||||
</figure>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue