Update the links system at the top of the pdf

This commit is contained in:
TheThomaas 2025-05-04 18:01:19 +02:00
parent 8838fbd636
commit f1820ba95e

View file

@ -5,19 +5,19 @@ eleventyComputed:
title: "{{author.firstName}} {{author.name}}, {{author.occupation}}" title: "{{author.firstName}} {{author.name}}, {{author.occupation}}"
links: links:
- value: "thomas@amstutz.it" - value: "thomas@amstutz.it"
- type: "link" - value: "github.com/TheThomaas"
value: "github.com/TheThomaas" url: "https://github.com/TheThomaas"
- value: "123 123 12 12" - value: "123 123 12 12"
- type: "link" - value: "amstutz.it"
value: "amstutz.it" url: "https://github.com/TheThomaas"
--- ---
<section> <section>
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<ul class="list-inline justify-center"> <ul class="list-inline justify-center">
{% for item in links %} {% for item in links %}
{% if item.type == "link" %} {% if item.url %}
<li><a href="{{item.value}}">{{item.value}}</a></li> <li><a href="{{item.url}}">{{item.value}}</a></li>
{% else %} {% else %}
<li>{{item.value}}</li> <li>{{item.value}}</li>
{% endif %} {% endif %}