Skip to content

Commit

Permalink
Adds visually hidden 'Posts' heading on post indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarstairs-scottlogic committed Dec 5, 2023
1 parent 0c8dfd3 commit 4b179d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/post_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h1>Blog</h1>
<h1 class="title">{{ categoryName }}</h1>
{% endif %}
<div class="hide-for-large">{% include category_list_compact.html selectedIndex=categoryIndex %}</div>
<h2 class="visually-hidden">Posts</h2>
{% include featured_posts.html postsToFilter=allPosts categoryName=categoryName %}
<div class="cell grid-x">
<div class="cell large-7 large-offset-1">
Expand Down

0 comments on commit 4b179d0

Please sign in to comment.