1
0
Fork 0

Sort everything but roles highlights-first.

main
Mari 5 years ago
parent 475c535a44
commit c89b818568
  1. 2
      _includes/components/resume/award-section.njk
  2. 2
      _includes/components/resume/contact-section.njk
  3. 2
      _includes/components/resume/education-section.njk
  4. 2
      _includes/components/resume/experience-role.njk
  5. 2
      _includes/components/resume/skill-section.njk
  6. 2
      _includes/components/resume/skill-subcategory.njk

@ -10,7 +10,7 @@
{% endif %}
</div>
<ul class="awards">
{% for award in awardsFiltered %}
{% for award in awardsFiltered | sortHighlightsFirst %}
{% include "components/resume/award.njk" %}
{% endfor %}
</ul>

@ -10,7 +10,7 @@
{% endif %}
</div>
<ul class="contacts">
{% for contact in contactsFiltered %}
{% for contact in contactsFiltered | sortHighlightsFirst %}
{% include "components/resume/contact.njk" %}
{% endfor %}
</ul>

@ -10,7 +10,7 @@
{% endif %}
</div>
<ul class="programs">
{% for program in educationFiltered %}
{% for program in educationFiltered | sortHighlightsFirst %}
{% include "components/resume/education.njk" %}
{% endfor %}
</ul>

@ -41,7 +41,7 @@
{% endif %}
{% if role.achievements %}
<ul class="achievements">
{% for achievement in role.achievements %}
{% for achievement in role.achievements | sortHighlightsFirst %}
<li{% if not role.highlight or not achievement.highlight %} class="lowlight"{% endif %}>{{achievement.description | md | safe }}</li>
{% endfor %}
</ul>

@ -9,6 +9,6 @@
{% include "components/resume/highlight-icon.njk" %}
{% endif %}
</div>
{% for category in skillCategoriesFiltered %}
{% for category in skillCategoriesFiltered | sortHighlightsFirst %}
{% include "components/resume/skill-subcategory.njk" %}
{% endfor %}

@ -3,7 +3,7 @@
<section class="skill-category{% if not category.highlight %} lowlight lowlight-no-gradient{% endif %}">
<h3{% if not category.highlight %} class="lowlight"{% endif %}>{{ category.title }}</h3>
<ul class="skills">
{% for skill in category.skills %}
{% for skill in category.skills | sortHighlightsFirst %}
{% include "components/resume/skill.njk" %}
{% endfor %}
</ul>

Loading…
Cancel
Save