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/award-section.njk

16 lines
545 B

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