This commit is contained in:
2025-05-25 06:40:23 +01:00
parent ab30cc0e38
commit b1133e0ace
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
{% if note %} {% if note %}
<section> <section>
<h1>Note {{ note.slug }}</h1> <h1>Note {{ note.slug }}</h1>
<a hidden class="u-url" href="{{ url('note', { slug: note.slug }) }}">Permalink</a>
<time>{{ note.publishedDate.format('c') }} <time>{{ note.publishedDate.format('c') }}
{% apply markdown_to_html %} {% apply markdown_to_html %}
{{ note.content }} {{ note.content }}

View File

@@ -6,12 +6,12 @@
<p hidden> <p hidden>
These links are collected by These links are collected by
<a class="p-author h-card" href="{{ path('index') }}"> <a class="p-author h-card" href="{{ url('index') }}">
Joe Carstairs Joe Carstairs
</a>. </a>.
</p> </p>
<p hidden> <p hidden>
<a class="u-url" href="{{ path('notes') }}">Permalink</a> <a class="u-url" href="{{ url('notes') }}">Permalink</a>
</p> </p>
<nav class="skip-to"> <nav class="skip-to">
@@ -42,7 +42,7 @@
{% for note in notes[year][month] %} {% for note in notes[year][month] %}
<section class="h-entry"> <section class="h-entry">
<h4><a class="p-name u-url" href="/notes/{{ note.slug }}"> <h4><a class="p-name u-url" href="{{ url('note', { slug: note.slug }) }}">
Note {{ note.slug }} Note {{ note.slug }}
</a></h4> </a></h4>
<time class="dt-published" datetime="{{ note.publishedDate.format('c') }}"> <time class="dt-published" datetime="{{ note.publishedDate.format('c') }}">