tidying up stuff i forgot to change

This commit is contained in:
sundae 2025-08-10 17:05:40 +03:00
parent c091831537
commit f20b697aed
No known key found for this signature in database
77 changed files with 1014 additions and 660 deletions

View file

@ -7,10 +7,10 @@ meow: "m18.8003 13.7653q0-1.7737-1.156-2.943-1.1563-1.1693-3.2321-1.3925v-.0525q
<html lang="en">
<head>
<title>
{{ site.name }}
{% if title %}
- {{ page.fileSlug| capitalize }}
{% endif %}
{{site.name}}
{%if title%}
- {{page.fileSlug|capitalize}}
{%endif%}
</title>
<link rel="icon" href="/assets/img/icon/sundae.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -18,23 +18,23 @@ meow: "m18.8003 13.7653q0-1.7737-1.156-2.943-1.1563-1.1693-3.2321-1.3925v-.0525q
<link rel="stylesheet" href="/assets/css/reset.css">
<link rel="stylesheet" href="/assets/css/default/default.css">
<link rel="stylesheet" href="/assets/css/default/system.css" id="custom">
{% set availableStyles = ['home', 'blog', 'gallery'] %}
{% if page.url %}
{% if availableStyles.indexOf(page.url|firstSegment) !== -1 %}
<link rel="stylesheet" href="/assets/css/default/{{ page.url|firstSegment }}.css">
{% endif %}
{% endif %}
{%set availableStyles = ['home', 'blog', 'gallery']%}
{%if page.url%}
{%if availableStyles.indexOf(page.url|firstSegment) !== -1%}
<link rel="stylesheet" href="/assets/css/default/{{page.url|firstSegment}}.css">
{%endif%}
{%endif%}
</head>
<body id="{{ page.url|firstSegment }}">
<body id="{{page.url|firstSegment}}">
<nav>
<details open="">
<summary>
<svg width="20" height="20" viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="{{ paw }}"></svg>
<path d="{{paw}}"></svg>
Navigation
</summary>
{% set currentUrl %}{{ page.url }}{% endset %}
{% set sortedPages = collections.pages|sort(attribute='data.order') %}
{%set currentUrl%}{{page.url}}{%endset%}
{%set sortedPages = collections.pages|sort(attribute='data.order')%}
<ul role="list">
<li>
<a href="../">
@ -47,19 +47,19 @@ meow: "m18.8003 13.7653q0-1.7737-1.156-2.943-1.1563-1.1693-3.2321-1.3925v-.0525q
<li>
<button id="theme-toggle">
<svg width="20" height="20" viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="{{ meow }}"></svg>
<path d="{{meow}}"></svg>
Toggle theme
</button>
</li>
{% for page in sortedPages %}
{%for page in sortedPages%}
<li>
<a {% if currentUrl === page.url %} aria-current="page" {% endif %} href="{{ page.url }}">
<a {%if currentUrl === page.url%} aria-current="page" {%endif%} href="{{page.url}}">
<svg width="20" height="20" viewbox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<path d="{{ page.data.icon }}"></path>
<path d="{{page.data.icon}}"></path>
</svg>
{{ page.data.title }}</a>
{{page.data.title}}</a>
</li>
{% endfor %}
{%endfor%}
<script src="/assets/js/theme.js"></script>
</li>
</ul>
@ -67,21 +67,21 @@ meow: "m18.8003 13.7653q0-1.7737-1.156-2.943-1.1563-1.1693-3.2321-1.3925v-.0525q
<details open="">
<summary>
<svg width="20" height="20" viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path d="{{ paw }}"></svg>
<path d="{{paw}}"></svg>
Outgoing
</summary>
<ul role="list">
{% for item in outgoing.items %}
{%for item in outgoing.items%}
<li>
<a href="{{ item.src }}"><img src="{{ item.icon }}" alt="">{{ item.title }}</a>
<a href="{{item.src}}"><img src="{{item.icon}}" alt="">{{item.title}}</a>
</li>
{% endfor %}
{%endfor%}
</ul>
</details>
<script src="/assets/js/nav-details.js"></script>
</nav>
<main>
{{ content | safe }}
{{content | safe}}
</main>
</body>
</html>

View file

@ -4,16 +4,27 @@ 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
---
<article id="art">
<h3>{{ page.fileSlug }}</h3>
<section>
{% for image in images %}
<a href="{{ image.src }}">
<figure>
<img src="{{ image.src }}" alt="{{ image.alt }}" {% if image.pixel %}style="image-rendering: pixelated"{% endif %}>
<figcaption><time datetime="{{ image.date|ISO }}">{{ image.date|readable }}</time>{{ image.alt }}</figcaption>
</figure>
</a>
{% endfor %}
</section>
{{ content|safe }}
</article>
<h3>{{page.fileSlug}}{%for flag in flags%}<img src="{{flag.src}}">{%endfor%}</h3>
{{content|safe}}
<section>
{%for image in images%}
<a href="{{image.src}}">
<figure>
<img src="{{image.src}}" alt="{{image.alt}}" {%if image.pixel%} style="image-rendering: pixelated" {%endif%}>
<figcaption>{{image.alt}}</figcaption>
<time datetime="{{image.date|ISO}}">{{image.date|readable}}</time>
</figure>
</a>
{%endfor%}
</section>
{%for attachment in attachments%}
<section class="attachment">
<a href="{{attachment.src}}">
<figure>
<img src="{{attachment.src}}">
<figcaption>{{attachment.alt}}</figcaption>
</figure>
</a>
</section>
{%endfor%}
</article>