Skip to content

Commit

Permalink
Merge pull request #14 from foreveryone1/patch-1
Browse files Browse the repository at this point in the history
Fix typo preventing capitalised tag names in the tag page
  • Loading branch information
Maxence-L authored Aug 8, 2021
2 parents 0ccab60 + f395b20 commit 96d8292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ content-type: eg
<main>
{% assign tags = site.notes | map: 'tags' | join: ' ' | split: ' ' | uniq %}
{% for tag in tags %}
<h3 id="{{ tag }}">{{ tag | captalize }}</h3>
<h3 id="{{ tag }}">{{ tag | capitalize }}</h3>
{%- for note in site.notes -%}
{%- if note.tags contains tag -%}
<li style="padding-bottom: 0.6em; list-style: none;"><a href="{{note.url}}">{{ note.title }}</a></li>
Expand Down

0 comments on commit 96d8292

Please sign in to comment.