pelican-papyrus/templates/partials/skills.html

36 lines
816 B
HTML
Raw Normal View History

2024-08-14 20:42:10 +02:00
{% set skills = page.resume.skills %}
{% if skills %}
<section class="section">
<header>
<h2 class='section-title'>{% trans %}resume skill title{% endtrans %}</h2>
2024-08-14 20:42:10 +02:00
</header>
<section id="skills">
{% 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 }}">
{% if skill.levelDisplay %}
<em>{{ skill.levelDisplay }}</em>
{% else %}
<em>{{ skill.level }}</em>
{% endif %}
<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 %}