Skip to content

Commit

Permalink
Merge pull request #456 from oddbird/plural-tags
Browse files Browse the repository at this point in the history
Make highlighted resource post types plural
  • Loading branch information
jgerigmeyer authored Nov 27, 2023
2 parents 06d6432 + 546033a commit 491c7e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/tags/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ summary: |
{% macro show(item, collections) %}
<article {{ post.aria_label(item, 'tag') }}>
{%- set item_title -%}
{%- if item.type and not (item.tag == 'Winging It') -%}
{{- item.type.plural -}}
{%- else -%}
{{- item.tag -}}
{%- endif -%}
<span class="sr-only">tag</span>
{%- endset -%}

Expand Down

0 comments on commit 491c7e8

Please sign in to comment.