Skip to content

Commit

Permalink
♻ Get _includes/skip-links.html from upstream
Browse files Browse the repository at this point in the history
© 2019 by Michael Rose (MIT license):
  https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/skip-links.html

* Fix build errors due to missing file in the minimal-mistakes gem
* See minimal-mistakes issue #2192 for details:
  mmistakes/minimal-mistakes#2192
* Commit 349e484:
  https://github.com/mmistakes/minimal-mistakes/blob/349e4840f1a118190202700b6dd684ae003aba16/_includes/skip-links.html
  • Loading branch information
redtux committed Jun 20, 2019
1 parent ff10ed4 commit f6797a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _includes/skip-links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<nav class="skip-links">
<h2 class="screen-reader-text">{{ site.data.ui-text[site.locale].skip_links | default: 'Skip links' }}</h2>
<ul>
<li><a href="#site-nav" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_footer | default: 'Skip to footer' }}</a></li>
</ul>
</nav>

0 comments on commit f6797a0

Please sign in to comment.