1
0
Fork 0

Sort everything but roles highlights-first.

main
Mari 4 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 %} {% endif %}
</div> </div>
<ul class="awards"> <ul class="awards">
{% for award in awardsFiltered %} {% for award in awardsFiltered | sortHighlightsFirst %}
{% include "components/resume/award.njk" %} {% include "components/resume/award.njk" %}
{% endfor %} {% endfor %}
</ul> </ul>

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

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

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

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

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

Loading…
Cancel
Save