Skip to content

Commit

Permalink
Re-add category titles
Browse files Browse the repository at this point in the history
Tweaked logic slightly
  • Loading branch information
ct-martin committed Mar 26, 2020
1 parent b86e91f commit af157db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/content-blocks/profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
{% if page_category != "index" and category_key != page_category%}
{% continue %}
{% endif %}
{% if page_category == "index" %}
<h2>{{ category_key | capitalize }}</h2>
{% endif %}

<div class="row">
{% for person_key_pair in category_value %}
Expand Down

0 comments on commit af157db

Please sign in to comment.