Skip to content

Commit

Permalink
fix: id index on h5
Browse files Browse the repository at this point in the history
  • Loading branch information
rolorogan committed Dec 9, 2020
1 parent 5be4c63 commit 3159703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/pages/styles/a-to-z-content-style-guide/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</button>
<div class="wmcads-accordion__content" id="accordion-{{section.letter | lower}}">
{% for style in section.styles %}
<h5 id="{{style.title | replace(r/\W/gi, '') | replace(' ', '-') | lower}}" class="{{"wmcads-m-t-xl" if not loop.first}}">
<h5 id="{{style.title | replace(r/\W/gi, '') | replace(' ', '-') | lower}}-{{ loop.index }}" class="{{'wmnds-m-t-xl' if not loop.first}}">
<span>{{style.title}}<span>
</h5>
{{style.content | safe}}
Expand Down

0 comments on commit 3159703

Please sign in to comment.