1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
reyasume/_includes/components/resume/contact-section.njk

16 lines
567 B

{# Uses page variable: filter.contact #}
{# Uses data store: contact.methods #}
{% set contactFilter = filter.contact if filter and filter.contact else "all" %}
{% set contactsFiltered = contact.methods | identifyHighlights(contactFilter) %}
<div class="section-header">
<h2>Contact</h2>
{% if contactsFiltered | hasLowlights %}
{% include "components/resume/highlight-icon.njk" %}
{% endif %}
</div>
<ul class="contacts">
{% for contact in contactsFiltered | sortHighlightsFirst %}
{% include "components/resume/contact.njk" %}
{% endfor %}
</ul>