h-entry note

This commit is contained in:
2025-05-25 06:58:01 +01:00
parent 3a3cc28aee
commit 87722cb95e

View File

@@ -2,12 +2,15 @@
{% block content %}
{% if note %}
<section>
<h1>Note {{ note.slug }}</h1>
<section class="h-entry">
<h1 class="p-name">Note {{ note.slug }}</h1>
<a hidden class="p-author h-card" href="{{ url('index') }}">Joe Carstairs</a>
<a hidden class="u-url" href="{{ url('note', { slug: note.slug }) }}">Permalink</a>
<time>{{ note.publishedDate.format('c') }}
<time class="dt-published">{{ note.publishedDate.format('c') }}
{% apply markdown_to_html %}
<section class="e-content">
{{ note.content }}
</section>
{% endapply %}
</section>
{% else %}