Add rich social sharing support
Deploy production / deploy (push) Successful in 22s

This commit is contained in:
2026-08-22 20:29:40 -07:00
parent feff0577ad
commit 1d9dd212bf
8 changed files with 277 additions and 4 deletions
+7
View File
@@ -1,5 +1,10 @@
{% extends "base.html" %}
{% from "macros/tag-links.html" import taxonomy_labels with context %}
{% from "macros/social-sharing.html" import social_metadata, share_controls with context %}
{% block social_head %}
{% set social_project = this.parent.parent %}
{{ social_metadata(this, 'TechArticle', 'article', social_project) }}
{% endblock %}
{% block body %}
{% set project = this.parent.parent %}
{% set siblings = this.get_siblings() %}
@@ -28,6 +33,8 @@
{{ this.body }}
</div>
{{ share_controls(this, 'development note', project) }}
<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>