pelican-papyrus/templates/partials/interests.html

30 lines
834 B
HTML
Raw Normal View History

2024-08-14 20:42:10 +02:00
{% set interests = page.resume.interests %}
{% if interests %}
<section class="section">
<header>
<h2 class='section-title' class='section-title'>{{ language.titles.interests }}</h2>
</header>
<section id="interests">
{% for interest in interests %}
<div class="item">
{% if interest.name %}
<h3 class="name">
{{ interest.name }}
</h3>
{% endif %}
{% if interest.keywords %}
<ul class="keywords">
{% for keyword in interest.keywords %}
<li>{{ keyword }}</li>
{% endfor %}
</ul>
{% endif %}
{% if interest.summary %}
<div class="summary">{{ interest.summary | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</div>
{% endif %}
</div>
{% endfor %}
</section>
</section>
{% endif %}