diff --git a/README.md b/README.md index 27f26e5..e56ca2c 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ repo and make appropriate changes. `app/views/layouts/_site_footer.html.erb` is also available if you really need a third footer above the other two (I'm looking at you bento!). +`app/views/layouts/_skip_links.html.erb` provides the option to change the href or text for the skip link, or include +multiple skip links if needed. + If you need to make changes to other templates, you can also copy those to your local repo but you should check with others as the main header / footer / etc are probably best left as they are in this gem. ## Adding Additional JavaScript to HTML Head diff --git a/app/views/layouts/_skip_links.html.erb b/app/views/layouts/_skip_links.html.erb new file mode 100644 index 0000000..6f39ac1 --- /dev/null +++ b/app/views/layouts/_skip_links.html.erb @@ -0,0 +1 @@ +Skip to main content diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6fe2528..567a2c0 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -4,7 +4,7 @@ <%= render partial: "layouts/head" %>
- Skip to main content + <%= render partial: "layouts/skip_links" %>