parent
14adf5c9ef
commit
1436671500
6 changed files with 144 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182)
|
||||||
|
|
||||||
## [4.16.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.4)
|
## [4.16.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.4)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
# English (default)
|
# English (default)
|
||||||
# -----------------
|
# -----------------
|
||||||
en: &DEFAULT_EN
|
en: &DEFAULT_EN
|
||||||
|
skip_links : "Skip links"
|
||||||
|
skip_primary_nav : "Skip to primary navigation"
|
||||||
|
skip_content : "Skip to content"
|
||||||
|
skip_footer : "Skip to footer"
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Previous"
|
pagination_previous : "Previous"
|
||||||
pagination_next : "Next"
|
pagination_next : "Next"
|
||||||
|
@ -56,6 +60,10 @@ en-AU:
|
||||||
# Spanish
|
# Spanish
|
||||||
# -------
|
# -------
|
||||||
es: &DEFAULT_ES
|
es: &DEFAULT_ES
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Siguiente"
|
pagination_next : "Siguiente"
|
||||||
|
@ -105,6 +113,10 @@ es-CO:
|
||||||
# French
|
# French
|
||||||
# ------
|
# ------
|
||||||
fr: &DEFAULT_FR
|
fr: &DEFAULT_FR
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Page"
|
page : "Page"
|
||||||
pagination_previous : "Précédent"
|
pagination_previous : "Précédent"
|
||||||
pagination_next : "Suivant"
|
pagination_next : "Suivant"
|
||||||
|
@ -156,6 +168,10 @@ fr-CH:
|
||||||
# Turkish
|
# Turkish
|
||||||
# -------
|
# -------
|
||||||
tr: &DEFAULT_TR
|
tr: &DEFAULT_TR
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Sayfa"
|
page : "Sayfa"
|
||||||
pagination_previous : "Önceki"
|
pagination_previous : "Önceki"
|
||||||
pagination_next : "Sonraki"
|
pagination_next : "Sonraki"
|
||||||
|
@ -200,6 +216,10 @@ tr-TR:
|
||||||
# Portuguese
|
# Portuguese
|
||||||
# ----------
|
# ----------
|
||||||
pt: &DEFAULT_PT
|
pt: &DEFAULT_PT
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Seguinte"
|
pagination_next : "Seguinte"
|
||||||
|
@ -242,6 +262,10 @@ pt-PT:
|
||||||
<<: *DEFAULT_PT
|
<<: *DEFAULT_PT
|
||||||
# Brazilian Portuguese
|
# Brazilian Portuguese
|
||||||
pt-BR:
|
pt-BR:
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Página"
|
page : "Página"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Próxima"
|
pagination_next : "Próxima"
|
||||||
|
@ -287,6 +311,10 @@ pt-BR:
|
||||||
# Italian
|
# Italian
|
||||||
# -------
|
# -------
|
||||||
it: &DEFAULT_IT
|
it: &DEFAULT_IT
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Precedente"
|
pagination_previous : "Precedente"
|
||||||
pagination_next : "Prossima"
|
pagination_next : "Prossima"
|
||||||
|
@ -334,6 +362,10 @@ it-IT:
|
||||||
# Chinese (zh-CN Chinese - China)
|
# Chinese (zh-CN Chinese - China)
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
zh: &DEFAULT_ZH_HANS
|
zh: &DEFAULT_ZH_HANS
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "页面"
|
page : "页面"
|
||||||
pagination_previous : "向前"
|
pagination_previous : "向前"
|
||||||
pagination_next : "向后"
|
pagination_next : "向后"
|
||||||
|
@ -381,6 +413,10 @@ zh-SG:
|
||||||
<<: *DEFAULT_ZH_HANS
|
<<: *DEFAULT_ZH_HANS
|
||||||
# Taiwan (Traditional Chinese)
|
# Taiwan (Traditional Chinese)
|
||||||
zh-TW: &DEFAULT_ZH_HANT
|
zh-TW: &DEFAULT_ZH_HANT
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "頁面"
|
page : "頁面"
|
||||||
pagination_previous : "較舊"
|
pagination_previous : "較舊"
|
||||||
pagination_next : "較新"
|
pagination_next : "較新"
|
||||||
|
@ -425,6 +461,10 @@ zh-HK:
|
||||||
# German / Deutsch
|
# German / Deutsch
|
||||||
# ----------------
|
# ----------------
|
||||||
de: &DEFAULT_DE
|
de: &DEFAULT_DE
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Seite"
|
page : "Seite"
|
||||||
pagination_previous : "Vorherige"
|
pagination_previous : "Vorherige"
|
||||||
pagination_next : "Nächste"
|
pagination_next : "Nächste"
|
||||||
|
@ -481,6 +521,10 @@ de-LU:
|
||||||
# Nepali (Nepal)
|
# Nepali (Nepal)
|
||||||
# --------------
|
# --------------
|
||||||
ne: &DEFAULT_NE
|
ne: &DEFAULT_NE
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "पृष्ठ"
|
page : "पृष्ठ"
|
||||||
pagination_previous : "अघिल्लो"
|
pagination_previous : "अघिल्लो"
|
||||||
pagination_next : "अर्को"
|
pagination_next : "अर्को"
|
||||||
|
@ -525,6 +569,10 @@ ne-NP:
|
||||||
# Korean
|
# Korean
|
||||||
# ------
|
# ------
|
||||||
ko: &DEFAULT_KO
|
ko: &DEFAULT_KO
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "페이지"
|
page : "페이지"
|
||||||
pagination_previous : "이전"
|
pagination_previous : "이전"
|
||||||
pagination_next : "다음"
|
pagination_next : "다음"
|
||||||
|
@ -569,6 +617,10 @@ ko-KR:
|
||||||
# Russian / Русский
|
# Russian / Русский
|
||||||
# -----------------
|
# -----------------
|
||||||
ru: &DEFAULT_RU
|
ru: &DEFAULT_RU
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Страница"
|
page : "Страница"
|
||||||
pagination_previous : "Предыдущая"
|
pagination_previous : "Предыдущая"
|
||||||
pagination_next : "Следующая"
|
pagination_next : "Следующая"
|
||||||
|
@ -615,6 +667,10 @@ ru-RU:
|
||||||
# Lithuanian / Lietuviškai
|
# Lithuanian / Lietuviškai
|
||||||
# ------------------------
|
# ------------------------
|
||||||
lt: &DEFAULT_LT
|
lt: &DEFAULT_LT
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Puslapis"
|
page : "Puslapis"
|
||||||
pagination_previous : "Ankstesnis"
|
pagination_previous : "Ankstesnis"
|
||||||
pagination_next : "Sekantis"
|
pagination_next : "Sekantis"
|
||||||
|
@ -659,6 +715,10 @@ lt-LT:
|
||||||
# Greek
|
# Greek
|
||||||
# -----
|
# -----
|
||||||
gr: &DEFAULT_GR
|
gr: &DEFAULT_GR
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Σελίδα"
|
page : "Σελίδα"
|
||||||
pagination_previous : "Προηγούμενo"
|
pagination_previous : "Προηγούμενo"
|
||||||
pagination_next : "Επόμενo"
|
pagination_next : "Επόμενo"
|
||||||
|
@ -705,6 +765,10 @@ gr-GR:
|
||||||
# Swedish
|
# Swedish
|
||||||
# -------
|
# -------
|
||||||
sv: &DEFAULT_SV
|
sv: &DEFAULT_SV
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Sidan"
|
page : "Sidan"
|
||||||
pagination_previous : "Föregående"
|
pagination_previous : "Föregående"
|
||||||
pagination_next : "Nästa"
|
pagination_next : "Nästa"
|
||||||
|
@ -754,6 +818,10 @@ sv-FI:
|
||||||
# Dutch
|
# Dutch
|
||||||
# -----
|
# -----
|
||||||
nl: &DEFAULT_NL
|
nl: &DEFAULT_NL
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Vorige"
|
pagination_previous : "Vorige"
|
||||||
pagination_next : "Volgende"
|
pagination_next : "Volgende"
|
||||||
|
@ -800,6 +868,10 @@ nl-NL:
|
||||||
# Indonesian
|
# Indonesian
|
||||||
# ----------
|
# ----------
|
||||||
id: &DEFAULT_ID
|
id: &DEFAULT_ID
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Halaman"
|
page : "Halaman"
|
||||||
pagination_previous : "Kembali"
|
pagination_previous : "Kembali"
|
||||||
pagination_next : "Maju"
|
pagination_next : "Maju"
|
||||||
|
@ -844,6 +916,10 @@ id-ID:
|
||||||
# Vietnamese
|
# Vietnamese
|
||||||
# ----------
|
# ----------
|
||||||
vi: &DEFAULT_VI
|
vi: &DEFAULT_VI
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Trang"
|
page : "Trang"
|
||||||
pagination_previous : "Trước"
|
pagination_previous : "Trước"
|
||||||
pagination_next : "Sau"
|
pagination_next : "Sau"
|
||||||
|
@ -891,6 +967,10 @@ vi-VN:
|
||||||
# Danish
|
# Danish
|
||||||
# ------
|
# ------
|
||||||
da: &DEFAULT_DA
|
da: &DEFAULT_DA
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Side"
|
page : "Side"
|
||||||
pagination_previous : "Forrige"
|
pagination_previous : "Forrige"
|
||||||
pagination_next : "Næste"
|
pagination_next : "Næste"
|
||||||
|
@ -938,6 +1018,10 @@ da-DK:
|
||||||
# Polish
|
# Polish
|
||||||
# ------
|
# ------
|
||||||
pl: &DEFAULT_PL
|
pl: &DEFAULT_PL
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Strona"
|
page : "Strona"
|
||||||
pagination_previous : "Poprzednia"
|
pagination_previous : "Poprzednia"
|
||||||
pagination_next : "Następna"
|
pagination_next : "Następna"
|
||||||
|
@ -982,6 +1066,10 @@ pl-PL:
|
||||||
# Japanese
|
# Japanese
|
||||||
# --------
|
# --------
|
||||||
ja: &DEFAULT_JA
|
ja: &DEFAULT_JA
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "ページ"
|
page : "ページ"
|
||||||
pagination_previous : "前へ"
|
pagination_previous : "前へ"
|
||||||
pagination_next : "次へ"
|
pagination_next : "次へ"
|
||||||
|
@ -1028,6 +1116,10 @@ ja-JP:
|
||||||
# Slovak
|
# Slovak
|
||||||
# -----------------
|
# -----------------
|
||||||
sk: &DEFAULT_SK
|
sk: &DEFAULT_SK
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Stránka"
|
page : "Stránka"
|
||||||
pagination_previous : "Predošlá"
|
pagination_previous : "Predošlá"
|
||||||
pagination_next : "Ďalšia"
|
pagination_next : "Ďalšia"
|
||||||
|
@ -1075,6 +1167,10 @@ sk-SK:
|
||||||
# Hungarian
|
# Hungarian
|
||||||
# -----------------
|
# -----------------
|
||||||
hu: &DEFAULT_HU
|
hu: &DEFAULT_HU
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Oldal"
|
page : "Oldal"
|
||||||
pagination_previous : "Előző"
|
pagination_previous : "Előző"
|
||||||
pagination_next : "Következő"
|
pagination_next : "Következő"
|
||||||
|
@ -1122,6 +1218,10 @@ hu-HU:
|
||||||
# Romanian
|
# Romanian
|
||||||
# -----------------
|
# -----------------
|
||||||
ro: &DEFAULT_RO
|
ro: &DEFAULT_RO
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "Pagina"
|
page : "Pagina"
|
||||||
pagination_previous : "Anterior"
|
pagination_previous : "Anterior"
|
||||||
pagination_next : "Următor"
|
pagination_next : "Următor"
|
||||||
|
@ -1169,6 +1269,10 @@ ro-RO:
|
||||||
# Punjabi
|
# Punjabi
|
||||||
# -----------------
|
# -----------------
|
||||||
pa: &DEFAULT_PA
|
pa: &DEFAULT_PA
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "ਸਫ਼ਾ"
|
page : "ਸਫ਼ਾ"
|
||||||
pagination_previous : "ਪਿਛਲਾ"
|
pagination_previous : "ਪਿਛਲਾ"
|
||||||
pagination_next : "ਅਗਲਾ "
|
pagination_next : "ਅਗਲਾ "
|
||||||
|
@ -1216,6 +1320,10 @@ pa-IN:
|
||||||
# Persian (Farsi)
|
# Persian (Farsi)
|
||||||
# --------------
|
# --------------
|
||||||
fa: &DEFAULT_FA
|
fa: &DEFAULT_FA
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "صفحه"
|
page : "صفحه"
|
||||||
pagination_previous : "قبلی"
|
pagination_previous : "قبلی"
|
||||||
pagination_next : "بعدی"
|
pagination_next : "بعدی"
|
||||||
|
@ -1263,6 +1371,10 @@ fa-IR:
|
||||||
# Malayalam
|
# Malayalam
|
||||||
# -----------------
|
# -----------------
|
||||||
ml: &DEFAULT_ML
|
ml: &DEFAULT_ML
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "പേജ്"
|
page : "പേജ്"
|
||||||
pagination_previous : "തിരികെ"
|
pagination_previous : "തിരികെ"
|
||||||
pagination_next : "മുന്നോട്ട്"
|
pagination_next : "മുന്നോട്ട്"
|
||||||
|
@ -1310,6 +1422,10 @@ ml-IN:
|
||||||
# Thailand
|
# Thailand
|
||||||
# --------------
|
# --------------
|
||||||
th: &DEFAULT_TH
|
th: &DEFAULT_TH
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "หน้า"
|
page : "หน้า"
|
||||||
pagination_previous : "ก่อนหน้า"
|
pagination_previous : "ก่อนหน้า"
|
||||||
pagination_next : "ถัดไป"
|
pagination_next : "ถัดไป"
|
||||||
|
@ -1357,6 +1473,10 @@ th-TH:
|
||||||
# Hindi
|
# Hindi
|
||||||
# -----------------
|
# -----------------
|
||||||
hi: &DEFAULT_HI
|
hi: &DEFAULT_HI
|
||||||
|
skip_links :
|
||||||
|
skip_primary_nav :
|
||||||
|
skip_content :
|
||||||
|
skip_footer :
|
||||||
page : "पृष्ठ"
|
page : "पृष्ठ"
|
||||||
pagination_previous : "पिछला"
|
pagination_previous : "पिछला"
|
||||||
pagination_next : "अगला"
|
pagination_next : "अगला"
|
||||||
|
|
8
_includes/skip-links.html
Normal file
8
_includes/skip-links.html
Normal file
|
@ -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>
|
|
@ -15,7 +15,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
{% include_cached skip-links.html %}
|
||||||
{% include_cached browser-upgrade.html %}
|
{% include_cached browser-upgrade.html %}
|
||||||
{% include_cached masthead.html %}
|
{% include_cached masthead.html %}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="page__footer">
|
<div id="footer" class="page__footer">
|
||||||
<footer>
|
<footer>
|
||||||
{% include footer/custom.html %}
|
{% include footer/custom.html %}
|
||||||
{% include_cached footer.html %}
|
{% include_cached footer.html %}
|
||||||
|
|
|
@ -5,10 +5,16 @@ permalink: /docs/history/
|
||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: 2019-05-26T20:46:18-04:00
|
last_modified_at: 2019-06-10T19:30:51-04:00
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182)
|
||||||
|
|
||||||
## [4.16.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.4)
|
## [4.16.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.4)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
{% include_cached skip-links.html %}
|
||||||
{% include browser-upgrade.html %}
|
{% include browser-upgrade.html %}
|
||||||
{% include masthead.html %}
|
{% include masthead.html %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue