yay website
This commit is contained in:
parent
623e26a808
commit
4d44fd94a2
585 changed files with 5066 additions and 0 deletions
18
_src/_includes/gallery.njk
Normal file
18
_src/_includes/gallery.njk
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: base
|
||||
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"
|
||||
---
|
||||
<article>
|
||||
<h3>{{ page.fileSlug }}</h3>
|
||||
<section>
|
||||
{% for image in images %}
|
||||
<figure>
|
||||
<a href="{{ image.src }}">
|
||||
<img src="{{ image.src }}" alt="{{ image.alt }}" {%if image.width %}width="{{image.width}}px" style="image-rendering: pixelated"{% endif %}>
|
||||
</a>
|
||||
<time datetime="{{ image.date|ISO }}">{{ image.date|readable }}</time><figcaption>{{ image.alt }}</figcaption>
|
||||
</figure>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{{ content|safe }}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue