Files
labyricorn-site/templates/devlog-entry.html
T
Labyricorn ec6e21bb25
Deploy production / deploy (push) Successful in 4s
Add repository-owned project publishing
2026-08-11 23:24:55 -07:00

41 lines
1.9 KiB
HTML

{% extends "base.html" %}
{% block body %}
{% set project = this.parent.parent %}
{% set siblings = this.get_siblings() %}
<article class="devlog-entry-layout shell">
<header class="devlog-entry-header">
<p class="eyebrow"><a href="{{ project|url }}">{{ project.title }}</a> · Devlog</p>
<h1>{{ this.title }}</h1>
<p class="dek">{{ this.summary }}</p>
</header>
<aside class="post-info devlog-info" aria-label="Development log information">
<p class="post-info-title">Development note</p>
<dl>
<div class="post-info-row"><dt>Project</dt><dd><a href="{{ project|url }}">{{ project.title }}</a></dd></div>
<div class="post-info-row"><dt>Published</dt><dd><time datetime="{{ this.date }}">{{ this.date|dateformat('long') }}</time></dd></div>
<div class="post-info-row"><dt>Author</dt><dd>{{ this.author }}</dd></div>
<div class="post-info-row">
<dt>Source commit</dt>
<dd><a href="{{ this.source_commit_url }}"><code>{{ this.source_commit[:10] }}</code></a></dd>
</div>
{% if this.topic_tags %}<div class="post-info-row"><dt>Topics</dt><dd class="technology-list">{% for tag in this.topic_tags %}<span>{{ tag }}</span>{% endfor %}</dd></div>{% endif %}
</dl>
</aside>
<div class="devlog-entry-body prose">
{{ this.body }}
</div>
<nav class="devlog-navigation" aria-label="Development log chronology">
{% if siblings.prev_page %}
<a class="devlog-navigation-link" href="{{ siblings.prev_page|url }}"><span>← Older entry</span><strong>{{ siblings.prev_page.title }}</strong></a>
{% else %}<span></span>{% endif %}
{% if siblings.next_page %}
<a class="devlog-navigation-link devlog-navigation-next" href="{{ siblings.next_page|url }}"><span>Newer entry →</span><strong>{{ siblings.next_page.title }}</strong></a>
{% endif %}
</nav>
<p class="devlog-back"><a href="{{ this.parent|url }}">View the complete {{ project.title }} devlog →</a></p>
</article>
{% endblock %}