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 %} {% block content %}
{% if note %} {% if note %}
<section> <section class="h-entry">
<h1>Note {{ note.slug }}</h1> <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> <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 %} {% apply markdown_to_html %}
{{ note.content }} <section class="e-content">
{{ note.content }}
</section>
{% endapply %} {% endapply %}
</section> </section>
{% else %} {% else %}