added a shortcode for notes/meta info, and a Reading section

This commit is contained in:
Lewis Wynne 2026-05-02 18:57:48 +01:00
parent 3416521f89
commit 4825a52edd
11 changed files with 86 additions and 19 deletions

View file

@ -3,6 +3,6 @@ title = "Contacting me"
date = 2021-02-11 date = 2021-02-11
+++ +++
If you need to get in touch regarding work I've completed for you in the past, use the email I gave to you at the time, or if that's not possible, email <a href="mailto:previous-work@ily.rs">previous-work@ily.rs</a>. If you need to get in touch regarding work I've completed for you in the past, use the email I gave to you at the time, or if that's not possible, email <a href="mailto:previous-work@wynne.rs">past-work@wynne.rs</a>.
If you want to get in touch for reasons unrelated to work, use <a href="mailto:l@ily.rs">l@ily.rs</a>. I'm generally happy chatting. If you want to get in touch for reasons unrelated to work, use <a href="mailto:chat@wynne.rs">chat@wynne.rs</a>. I'm generally happy chatting, and get back to my emails everyday.

View file

@ -0,0 +1,4 @@
+++
sort_by = "date"
render = false
+++

View file

@ -0,0 +1,16 @@
+++
title = "The Dream of a Ridiculous Man (1877) by Fyodor Dostoevsky"
date = 2026-05-02
draft = true
+++
<div class="notes">
{% h(at="01") %}
I am a ridiculous man. Nowadays they call me mad.
{% end %}
{% h(at="02") %}
All of a sudden, I realised that it *would not matter* to me whether the world existed or whether there was nothing at all anywhere. I began to intuit and sense with all my being, that *there was nothing around me*. [...] It was then that I suddenly stopped being angry at othre people and almost ceased to notice them.
{% end %}
</div>

View file

@ -0,0 +1,5 @@
+++
title = "A Gentle Creature (1876) by Fyodor Dostoevsky"
date = 2026-05-02
draft = true
+++

View file

@ -1,5 +1,5 @@
+++ +++
title = "th" title = "th (2024) by me"
date = 2024-04-21 date = 2024-04-21
+++ +++

View file

@ -0,0 +1,15 @@
+++
title = "White Nights (1848) by Fyodor Dostoevsky"
date = 2026-05-02
draft = true
+++
<div class="notes notes--dialogue">
{{ h(at="Dreamer", body="My God, a whole minute of bliss! Is that really so little for the whole of a man's life?") }}
{% h(at="Nastenka") %}
Listen, why aren't we all like brothers and sisters? Why is even the best of men always seeming to hide something from the others, and to keep something back from them?
{% end %}
</div>

View file

@ -1,3 +1,7 @@
:root {
--muted: #666;
}
body { body {
max-width: 70ch; max-width: 70ch;
line-height: 1.3; line-height: 1.3;
@ -59,3 +63,28 @@ code {
.anchor:hover { .anchor:hover {
opacity: 1; opacity: 1;
} }
.muted {
color: var(--muted);
}
.notes {
display: grid;
grid-template-columns: minmax(2.5rem, min-content) 1fr;
gap: 0.5rem 0.75rem;
margin: 1rem 0;
}
.notes .meta {
white-space: nowrap;
font-variant-numeric: tabular-nums;
color: var(--muted);
}
.notes p { margin: 0; }
.notes p + p { margin-top: 0.5rem; }
.notes--dialogue .meta {
text-align: right;
font-style: italic;
}

View file

@ -11,10 +11,10 @@
</head> </head>
<body> <body>
<nav> <nav>
<a href="/">ily [dot] rs</a> | <a href="/">go home</a> |
<a href="/links/">links</a> | <a href="/links/">bookmarks</a> |
<a href="/now/">now</a> | <a href="/now/">now</a> |
sign the <a href="/guestbook/">guestbook</a> sign my <a href="/guestbook/">guestbook</a>
</nav> </nav>
{% block content %}{% endblock %} {% block content %}{% endblock %}
</body> </body>

View file

@ -1,12 +0,0 @@
{% extends "base.html" %}
{% block title %}ily blog{% endblock %}
{% block content %}
<h1>{{ section.title }}</h1>
<ul>
{% for post in section.pages %}
<li>{{ post.date }} — <a href="{{ post.permalink }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View file

@ -4,10 +4,18 @@
{% block content %} {% block content %}
<p></p> <p>This site was once more complicated, but I've stripped it down to bare essentials.</p>
{% set blog = get_section(path="blog/_index.md") %} {% set blog = get_section(path="blog/_index.md") %}
{% for post in blog.pages %} {% for post in blog.pages %}
{{ post.date }}&emsp;<a href="{{ post.permalink }}">{{ post.title }}</a><br> {{ post.date }}&emsp;<a href="{{ post.permalink }}">{{ post.title }}</a><br>
{% endfor %} {% endfor %}
<p>Reading</p>
{% set reading = get_section(path="reading/_index.md") %}
{% for post in reading.pages %}
{{ post.date}}&emsp;<a href="{{ post.permalink }}">{{ post.title }}</a><br>
{% endfor %}
{% endblock %} {% endblock %}

View file

@ -0,0 +1,2 @@
<div class="meta">{{ at }}</div>
<div>{{ body | markdown | safe }}</div>