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}}"
links:
- value: "thomas@amstutz.it"
- type: "link"
value: "github.com/TheThomaas"
- value: "github.com/TheThomaas"
url: "https://github.com/TheThomaas"
- value: "123 123 12 12"
- type: "link"
value: "amstutz.it"
- value: "amstutz.it"
url: "https://github.com/TheThomaas"
---
<section>
<h1>{{ title }}</h1>
<ul class="list-inline justify-center">
{% for item in links %}
{% if item.type == "link" %}
<li><a href="{{item.value}}">{{item.value}}</a></li>
{% if item.url %}
<li><a href="{{item.url}}">{{item.value}}</a></li>
{% else %}
<li>{{item.value}}</li>
{% endif %}