Add tags to projects

This commit is contained in:
TheThomaas 2025-06-03 21:09:19 +02:00
parent 513a975459
commit 1a19666952
8 changed files with 32 additions and 2 deletions

View file

@ -11,6 +11,11 @@
<div class="content">
<h3>{{ title }}</h3>
<p>{{ description }}</p>
<ul class="list-inline">
{% for tag in tags %}
<li><span class="badge">{{ tag }}</span></li>
{% endfor %}
</ul>
</div>
</article>
</li>

View file

@ -6,7 +6,8 @@
background: data.background,
links: data.links,
title: data.title,
description: data.description %}
description: data.description,
tags: data.tags %}
{%- endfor -%}
</ul>
{% endif %}

View file

@ -104,4 +104,16 @@ main li {
section {
margin-block: 3.5rem;
padding-block: 2rem;
}
.badge {
display: inline-flex;
justify-content: center;
line-height: 1;
padding: .2em .3em;
font-size: .75em;
border-radius: .4em;
color: var(--badge-color, var(--color-secondary-600));
background: color-mix(in srgb, var(--badge-color, var(--color-secondary-600)) 40%, white 100%);
border: 1px solid color-mix(in srgb, var(--badge-color, var(--color-secondary-600)) 90%, white 100%);
}

View file

@ -5,6 +5,9 @@ links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
tags:
- C#
- Unity
---
* desc1

View file

@ -5,4 +5,6 @@ links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
tags:
- Python
---

View file

@ -8,4 +8,7 @@ links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
tags:
- PHP
- LDAP
---

View file

@ -8,4 +8,7 @@ links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
tags:
- JS
- IOT
---

View file

@ -1,9 +1,10 @@
---
title: Snake
description: Un snake réalisé en Java
background: rgb(255, 143, 143)
links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
tags:
- Java
---