🔧 Handle websites
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Kazhnuz 2025-08-04 18:49:35 +02:00
parent 6f28d1f6a1
commit 21871d2674
2 changed files with 32 additions and 0 deletions

18
_data/websites.json Normal file
View file

@ -0,0 +1,18 @@
[
{
"title":"Basic",
"noTitle": true,
"links": [
{"title":"Eternal Engine (blog)", "url":"https://eternal-engine.kobold.cafe/"},
{"title":"Veille informationnelle", "url":"https://eternal-engine.kobold.cafe/veille"}
]
},
{
"title":"Réseaux sociaux",
"relme":true,
"links": [
{"title":"Breeze Media (fedi)", "url":"https://piaille.fr/@breezemedia"},
{"title":"Breeze Media (bsky)", "url":"https://bsky.app/profile/breezemedia.bsky.social"}
]
}
]

View file

@ -96,6 +96,20 @@
<ul class="nav nav-secrets">
{%- for entry in navPages %}{{ renderNavListItem(entry, "secrets", 1) }}{%- endfor -%}
</ul>
<ul class="nav nav-links">
{%- for entry in websites %}
<li class="item">
{% if entry.noTitle != true %}
<span>{{ entry.title }}</span>
{% endif %}
<ul>
{%- for link in entry.links %}
<li class="item" ><a href="{{ link.url }}" target="_blank" {% if entry.relme == true %} rel="me" {% endif %}>{{ link.title }}</a></li>
{%- endfor -%}
</ul>
</li>
{%- endfor -%}
</ul>
</nav>
<div class="wrapper">