pelican-papyrus/templates/partials/skills.html

44 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2024-08-14 20:42:10 +02:00
{% set skills = page.resume.skills %}
{% if skills %}
<section class="section" id="skills-section">
2024-08-14 20:42:10 +02:00
<header>
<h2 class='section-title'><i class="fa-regular fa-keyboard"></i>{% trans %}resume skill title{% endtrans %}</h2>
2024-08-14 20:42:10 +02:00
</header>
2024-08-15 21:57:08 +02:00
<section id="skills" class="grid grid-cols-3">
2024-08-14 20:42:10 +02:00
{% for skill in skills %}
<div class="item">
{% if skill.name %}
<h3 class="name">
{{ skill.name }}
</h3>
{% endif %} {% if skill.level %}
<div class="level {{ skill.level | lower }}">
2024-08-15 02:32:23 +02:00
<em>
{% if skill.level == "master" %}
{% trans %}skill level master{% endtrans %}
{% elif skill.level == "intermediate" %}
{% trans %}skill level intermediate{% endtrans %}
{% elif skill.level == "advanced" %}
{% trans %}skill level advanced{% endtrans %}
{% elif skill.level == "elementary" %}
{% trans %}skill level elementary{% endtrans %}
{% elif skill.level == "notions" %}
{% trans %}skill level notions{% endtrans %}
2024-08-14 20:42:10 +02:00
{% endif %}
2024-08-15 02:32:23 +02:00
</em>
2024-08-14 20:42:10 +02:00
<div class="bar"></div>
</div>
{% endif %}
{% if skill.keywords %}
<ul class="keywords">
{% for keyword in skill.keywords %}
<li>{{ keyword }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
</section>
</section>
{% endif %}