wip figures and images

This commit is contained in:
sundae 2025-06-16 16:31:53 +03:00
parent ea235120f8
commit c6bac45ecf
No known key found for this signature in database
61 changed files with 1491 additions and 1315 deletions

View file

@ -16,7 +16,7 @@ paw: "m 15.700739,16.184194 c 0,4.483 -2.555,2.038 -5.7060001,2.038 -3.151,0 -5.
<meta charset="utf-8">
<link rel="stylesheet" href="/assets/css/reset.css">
<link rel="stylesheet" href="/assets/css/default.css">
<link rel="stylesheet" href="/assets/css/me.css"> {% set availableStyles = ['home', 'blog', 'gallery'] %}
{% set availableStyles = ['home', 'blog', 'gallery'] %}
{% if page.url %}
{% if availableStyles.indexOf(page.url|firstSegment) !== -1 %}
<link rel="stylesheet" href="/assets/css/{{ page.url|firstSegment }}.css">

View file

@ -4,9 +4,6 @@ icon: "M 6 3 L 19 3 L 26 10 L 26 30 L 6 30 Z M 17 12 L 24 12 L 17 5 Z"
---
<article>
<h2>{{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time>
</h2>
{{content|safe}}
<div aria-label="Postscript">
{{blurb|safe}} <img src="{{avatar}}">

View file

@ -2,17 +2,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>
<article id="art">
<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 href="{{ image.src }}" {% if image.width %} style="max-width:{{ image.width }}" {% endif %}>
<figure>
<img src="{{ image.src }}" alt="{{ image.alt }}" {% if image.width %}style="image-rendering: pixelated"{% endif %}>
<figcaption><time datetime="{{ image.date|ISO }}">{{ image.date|readable }}</time>{{ image.alt }}</figcaption>
</figure>
</a>
<time datetime="{{ image.date|ISO }}">{{ image.date|readable }}</time><figcaption>{{ image.alt }}</figcaption>
</figure>
{% endfor %}
</section>
{{ content|safe }}
</article>
{% endfor %}
</section>
{{ content|safe }}
</article>