Add social link icons to sidebar and About-me page

Small monochrome icon row (GitHub, LinkedIn, ORCID, Mastodon, Bluesky,
Matrix) rendered from a SOCIAL config tuple via a shared Jinja
partial (templates/includes/social_links.html), included unconditionally
in the sidebar below the tag cloud and again on the About-me page only.
Icons are inline SVGs (templates/icons/*.svg) using fill=currentColor,
so they track the existing accent-color/dark-mode toggle for free via
--main-link-color, no JS needed.
This commit is contained in:
2026-08-13 16:44:14 +00:00
parent 02e7f9535f
commit 4f29c8a97d
10 changed files with 49 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{% if SOCIAL %}
<ul class="social-links">
{% for name, url, icon in SOCIAL %}
<li><a href="{{ url }}" rel="me" aria-label="{{ name }}" title="{{ name }}">{% include "icons/" ~ icon ~ ".svg" %}</a></li>
{% endfor %}
</ul>
{% endif %}