minimal-mistakes-jekyll 4.26.1 → 4.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/README.md +2 -2
  4. data/_data/ui-text.yml +115 -9
  5. data/_includes/archive-single.html +1 -1
  6. data/_includes/breadcrumbs.html +1 -1
  7. data/_includes/copyright.html +2 -2
  8. data/_includes/copyright.js +2 -2
  9. data/_includes/documents-collection.html +2 -2
  10. data/_includes/figure +2 -2
  11. data/_includes/footer.html +1 -1
  12. data/_includes/head.html +1 -1
  13. data/_includes/post_pagination.html +3 -3
  14. data/_includes/seo.html +5 -1
  15. data/_includes/social-share.html +10 -6
  16. data/_layouts/archive-taxonomy.html +1 -1
  17. data/_layouts/archive.html +1 -1
  18. data/_layouts/default.html +2 -2
  19. data/_layouts/home.html +1 -3
  20. data/_layouts/search.html +1 -1
  21. data/_layouts/single.html +10 -3
  22. data/_layouts/splash.html +1 -1
  23. data/_sass/minimal-mistakes/_archive.scss +51 -83
  24. data/_sass/minimal-mistakes/_base.scss +6 -6
  25. data/_sass/minimal-mistakes/_buttons.scss +5 -4
  26. data/_sass/minimal-mistakes/_copyright.scss +2 -2
  27. data/_sass/minimal-mistakes/_footer.scss +6 -8
  28. data/_sass/minimal-mistakes/_forms.scss +20 -31
  29. data/_sass/minimal-mistakes/_masthead.scss +6 -8
  30. data/_sass/minimal-mistakes/_navigation.scss +37 -39
  31. data/_sass/minimal-mistakes/_notices.scss +1 -1
  32. data/_sass/minimal-mistakes/_page.scss +28 -45
  33. data/_sass/minimal-mistakes/_reset.scss +5 -8
  34. data/_sass/minimal-mistakes/_search.scss +3 -6
  35. data/_sass/minimal-mistakes/_sidebar.scss +23 -27
  36. data/_sass/minimal-mistakes/_syntax.scss +10 -5
  37. data/_sass/minimal-mistakes/_tables.scss +2 -2
  38. data/_sass/minimal-mistakes/_utilities.scss +25 -41
  39. data/_sass/minimal-mistakes/_variables.scss +4 -1
  40. data/_sass/minimal-mistakes/skins/_contrast.scss +1 -1
  41. data/assets/css/main.scss +1 -1
  42. data/assets/js/_main.js +19 -15
  43. data/assets/js/main.min.js +3 -3
  44. data/assets/js/main.min.js.map +1 -1
  45. data/assets/js/plugins/jquery.greedy-navigation.js +5 -1
  46. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ce66800cc5df8bf05e350eda4c42eb8531be72e239930a9b5d0004c5978d121
4
- data.tar.gz: caaf958143a1cb62c92e665782dc5108deb13866655dad5b0f4f18f289071f91
3
+ metadata.gz: 56a5299d597e267b8ba641454984ff85eab76395ac8e03eeb18185c13c46fb33
4
+ data.tar.gz: 8c9cb75e8c5bd6cc8f8ca45e130784de8a7b057702d4c615bbbf07280a2e6c9b
5
5
  SHA512:
6
- metadata.gz: e2b501d000f03cc3149096f927559d163fc44f2955099f271411fafbcd3bb9dcdea22f24034c0aeb7c6561427b0c9fab4b1caac47c5a64c91ce3e241f2b902e5
7
- data.tar.gz: d5a2373825ded0f91e71492095d91e8f7e65296c56ab41afd2b0d58098de63937927ceed9b9d6f7c7284c7a542bc4cbe0e08dfb22a84415a470ed3d81a87c600
6
+ metadata.gz: 9896564fd8d41b7bc317d697f3ced8ebddc6221b9c914f85de800855f35e6ae53b301d5dea6ddbf6ec16ed22ad1a199d27d3a2c1b41546b055cc3db08a69f42d
7
+ data.tar.gz: 304f0c4d913401bfea61a62733b95120ac76ecdf29307e70fcabb9fa8e8d93be0014bbc8baf5ffb8756d6ebf75f2c45d225ed16c0bcc8fa009d8ce2d3fc59438
data/CHANGELOG.md CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### Enhancements
6
+
7
+ - Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
8
+ - Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
9
+ - Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
10
+ - Remove unnecessary "type" attribute (#4956)
11
+ - The "if" means the default is never used (#4955)
12
+ - For pages without a title, show the site title only once (#4959)
13
+ - Use `documents-collection.html` partial in `home` layout.
14
+ - Add Bulgarian translation. [#5003](https://github.com/mmistakes/minimal-mistakes/pull/5003)
15
+ - Add provider and comments info to `single.html` layout for non-production. (#5068)
16
+ - Tweak contrast skin $primary-color to adhere to WCAG guidelines. (#5126)
17
+ - Update social share buttons to reflect Twitter rebranding to X (#5210)
18
+
19
+ ### Bug Fixes
20
+
21
+ - Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
22
+ - Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
23
+ - Fix reset stylesheet overruling `$doc-font-size`. [#4983](https://github.com/mmistakes/minimal-mistakes/issues/4983)
24
+ - Fix JavaScript null error on home and splash layouts. [#4938](https://github.com/mmistakes/minimal-mistakes/issues/4938), [#4939](https://github.com/mmistakes/minimal-mistakes/pull/4939)
25
+ - Fix bad <figure> HTML if "alt" contains quotes.
26
+ - Fix extra newline generated in `_includes/post_pagination.html`.
27
+ - Hide hidden links & remove the overlay when one is clicked. [#5042](https://github.com/mmistakes/minimal-mistakes/pull/5042)
28
+ - Fix typo in "Configuration" (#5106)
29
+ - bundle exec jekyll serve will fail if more than once (#5193)
30
+
31
+ ### Documentation & Maintenance
32
+
33
+ - Automatically update Algolia search index with GitHub Actions.
34
+
35
+ ## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
36
+
37
+ ### Enhancements
38
+
39
+ - Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
40
+ - Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
41
+
42
+ ### Bug Fixes
43
+
44
+ - Figure helper breaks when using code markup in caption with `popup=true`. [#4841](https://github.com/mmistakes/minimal-mistakes/issues/4841)
45
+
46
+ ## [4.26.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.1)
47
+
5
48
  ### Bug Fixes
6
49
 
7
50
  - Disable copy button on invalid syntax highlighting blocks to avoid positioning issues.
data/README.md CHANGED
@@ -27,7 +27,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
27
27
  - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
28
28
  - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
29
29
  - [Google Analytics](https://www.google.com/analytics/) support.
30
- - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
30
+ - UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
31
31
 
32
32
  ## Skins (color variations)
33
33
 
@@ -121,7 +121,7 @@ To install:
121
121
  bundle
122
122
  ```
123
123
 
124
- 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
124
+ 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
125
125
 
126
126
  <!--
127
127
  Dev note: The version number is currently hard-coded in these files:
data/_data/ui-text.yml CHANGED
@@ -1070,17 +1070,17 @@ da-DK:
1070
1070
  # Polish
1071
1071
  # ------
1072
1072
  pl: &DEFAULT_PL
1073
- skip_links :
1074
- skip_primary_nav :
1075
- skip_content :
1076
- skip_footer :
1073
+ skip_links : "Pomiń linki"
1074
+ skip_primary_nav : "Przejdź do nawigacji"
1075
+ skip_content : "Przejdź do treści"
1076
+ skip_footer : "Przejdź do stopki"
1077
1077
  page : "Strona"
1078
1078
  pagination_previous : "Poprzednia"
1079
1079
  pagination_next : "Następna"
1080
1080
  breadcrumb_home_label : "Strona główna"
1081
1081
  breadcrumb_separator : "/"
1082
1082
  menu_label : "Przełącz menu"
1083
- search_label :
1083
+ search_label : "Przełącz wyszukiwanie"
1084
1084
  toc_label : "Spis treści"
1085
1085
  ext_link_label : "Link bezpośredni"
1086
1086
  less_than : "mniej niż"
@@ -1101,7 +1101,7 @@ pl: &DEFAULT_PL
1101
1101
  email_label : "Email"
1102
1102
  recent_posts : "Najnowsze wpisy"
1103
1103
  undefined_wpm : "Parametr words_per_minute nie został zdefiniowany w _config.yml."
1104
- comment_form_info : "Twój adres email nie będzie udostępiony. Wymagane pola są oznaczone"
1104
+ comment_form_info : "Twój adres email nie będzie udostępiony. Wymagane pola są oznaczone."
1105
1105
  comment_form_comment_label : "Skomentuj"
1106
1106
  comment_form_md_info : "Markdown jest wspierany"
1107
1107
  comment_form_name_label : "Imię"
@@ -1400,7 +1400,7 @@ fa: &DEFAULT_FA
1400
1400
  toc_label : "در این صفحه"
1401
1401
  ext_link_label : "لینک مستقیم"
1402
1402
  less_than : " "
1403
- minute_read : "(طول مطالعه (دقیقه"
1403
+ minute_read : "دقیقه، طول مطالعه"
1404
1404
  share_on_label : "اشتراک گذاری در"
1405
1405
  meta_label :
1406
1406
  tags_label : "تگ ها: "
@@ -1427,9 +1427,9 @@ fa: &DEFAULT_FA
1427
1427
  comment_btn_submitted : "ارسال شد"
1428
1428
  comment_success_msg : ".باتشکر از ارسال دیدگاه! پس از تأیید، این دیدگاه در سایت نشان داده خواهد شد"
1429
1429
  comment_error_msg : ".متاسفانه در ارسال شما خطایی بود. لطفا مطمئن شوید تمام فیلدهای مورد نیاز تکمیل شده و دوباره امتحان کنید"
1430
- loading_label : "...بارگذاری"
1430
+ loading_label : "بارگذاری..."
1431
1431
  search_label_text :
1432
- search_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
1432
+ search_placeholder_text : "عبارت جستجوی خود را وارد کنید..."
1433
1433
  search_algolia_no_results :
1434
1434
  results_found : "نتایج"
1435
1435
  back_to_top : "بازگشت به بالا"
@@ -2074,6 +2074,112 @@ uk: &DEFAULT_UK
2074
2074
  uk-UA:
2075
2075
  <<: *DEFAULT_UK
2076
2076
 
2077
+ # Czech / čeština
2078
+ # -----------------
2079
+ cs: &DEFAULT_CS
2080
+ skip_links : "Rychlé odkazy"
2081
+ skip_primary_nav : "Přejít na hlavní navigace"
2082
+ skip_content : "Přejít na obsah"
2083
+ skip_footer : "Přejít na zápatí"
2084
+ page : "Stránka"
2085
+ pagination_previous : "Předchozí"
2086
+ pagination_next : "Další"
2087
+ breadcrumb_home_label : "Domů"
2088
+ breadcrumb_separator : "/"
2089
+ menu_label : "Přepnout zobrazení menu"
2090
+ search_label : "Přepnout zobrazení vyhledávání"
2091
+ toc_label : "Na této stránce"
2092
+ ext_link_label : "Přímý odkaz"
2093
+ less_than : "méně než"
2094
+ minute_read : "minut"
2095
+ share_on_label : "Sdílet"
2096
+ meta_label :
2097
+ tags_label : "Štítky:"
2098
+ categories_label : "Rubriky:"
2099
+ date_label : "Aktualizováno:"
2100
+ comments_label : "Okomentovat"
2101
+ comments_title : "Komentáře"
2102
+ more_label : "Zjistit více"
2103
+ related_label : "Může se vám také líbit"
2104
+ follow_label : "Sledovat:"
2105
+ feed_label : "Zdroj"
2106
+ powered_by : "Používáme"
2107
+ website_label : "Web"
2108
+ email_label : "E-mail"
2109
+ recent_posts : "Nejnovější příspěvky"
2110
+ undefined_wpm : "V souboru _config.yml chybí parametr words_per_minute"
2111
+ comment_form_info : "Vaše e-mailová adresa nebude zveřejněna. Povinná pole jsou označena"
2112
+ comment_form_comment_label : "Komentář"
2113
+ comment_form_md_info : "Podporuje markdown."
2114
+ comment_form_name_label : "Jméno"
2115
+ comment_form_email_label : "E-mailová adresa"
2116
+ comment_form_website_label : "Web (volitelné)"
2117
+ comment_btn_submit : "Odeslat komentář"
2118
+ comment_btn_submitted : "Odesláno"
2119
+ comment_success_msg : "Děkujeme za komentář. Na stránce se objeví jakmile projde schválením."
2120
+ comment_error_msg : "Odeslání se nezdařilo. Zkontrolujte, že jste vyplnili všechna povinná pole a zkuste to znovu."
2121
+ loading_label : "Načítání..."
2122
+ search_label_text : "Zadejte vyhledávání..."
2123
+ search_placeholder_text : "Zadejte vyhledávání..."
2124
+ search_algolia_no_results : "Žádné výsledky"
2125
+ results_found : "Nalezené výsledky"
2126
+ back_to_top : "Na začátek stránky"
2127
+ cs-CZ:
2128
+ <<: *DEFAULT_CS
2129
+
2130
+ # Bulgarian
2131
+ # -----------------
2132
+ bg: &DEFAULT_BG
2133
+ skip_links : "Пропуснете връзките"
2134
+ skip_primary_nav : "Преминете към основната навигация"
2135
+ skip_content : "Преминете към съдържанието"
2136
+ skip_footer : "Преминете към долния колонтитул"
2137
+ page : "Страница"
2138
+ pagination_previous : "Предишна"
2139
+ pagination_next : "Следваща"
2140
+ breadcrumb_home_label : "Начало"
2141
+ breadcrumb_separator : "/"
2142
+ menu_label : "Превключване на меню"
2143
+ search_label : "Превключване на търсене"
2144
+ toc_label : "На тази страница"
2145
+ ext_link_label : "Пряка връзка"
2146
+ less_than : "по-малко от"
2147
+ minute_read : "минута четене"
2148
+ share_on_label : "Споделете"
2149
+ meta_label :
2150
+ tags_label : "Етикети:"
2151
+ categories_label : "Категории:"
2152
+ date_label : "Обновено:"
2153
+ comments_label : "Оставете коментар"
2154
+ comments_title : "Коментари"
2155
+ more_label : "Научете повече"
2156
+ related_label : "Може да са ви интересни"
2157
+ follow_label : "Последвайте:"
2158
+ feed_label : "Емисия"
2159
+ powered_by : "Осъществено чрез"
2160
+ website_label : "Уебсайт"
2161
+ email_label : "Е-поща"
2162
+ recent_posts : "Последни публикации"
2163
+ undefined_wpm : "Недефиниран параметър words_per_minute в _config.yml"
2164
+ comment_form_info : "Вашият адрес за е-поща няма да бъде публикуван. Задължителните полета са обозначени"
2165
+ comment_form_comment_label : "Коментар"
2166
+ comment_form_md_info : "Поддържа се Маркдаун."
2167
+ comment_form_name_label : "Име"
2168
+ comment_form_email_label : "Адрес за е-поща"
2169
+ comment_form_website_label : "Уебсайт (по желание)"
2170
+ comment_btn_submit : "Изпращане на коментар"
2171
+ comment_btn_submitted : "Изпратено"
2172
+ comment_success_msg : "Благодарности за коментара! Ще се покаже на сайта, след като бъде одобрен."
2173
+ comment_error_msg : "Съжаляваме, възникна грешка с изпращането. Моля, уверете се, че всички задължителни полета са попълнени и опитайте отново."
2174
+ loading_label : "Зареждане..."
2175
+ search_label_text : "Въведете термин за търсене..."
2176
+ search_placeholder_text : "Въведете термин за търсене..."
2177
+ search_algolia_no_results : "Няма резултати"
2178
+ results_found : "Намерени резултати"
2179
+ back_to_top : "Обратно към началото"
2180
+ bg-BG:
2181
+ <<: *DEFAULT_BG
2182
+
2077
2183
  # Another locale
2078
2184
  # --------------
2079
2185
  #
@@ -11,7 +11,7 @@
11
11
  {% endif %}
12
12
 
13
13
  <div class="{{ include.type | default: 'list' }}__item">
14
- <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
14
+ <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"{% if post.locale %} lang="{{ post.locale }}"{% endif %}>
15
15
  {% if include.type == "grid" and teaser %}
16
16
  <div class="archive__item-teaser">
17
17
  <img src="{{ teaser | relative_url }}" alt="">
@@ -26,7 +26,7 @@
26
26
  <span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
27
27
  {% endif %}
28
28
  {% if forloop.last %}
29
- <li class="current">{{ page.title }}</li>
29
+ <li class="current"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</li>
30
30
  {% else %}
31
31
  {% assign i = i | plus: 1 %}
32
32
  <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
3
- Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
2
+ Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
3
+ Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
4
4
  Free for personal and commercial use under the MIT license
5
5
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
6
6
  -->
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Minimal Mistakes Jekyll Theme 4.26.1 by Michael Rose
3
- * Copyright 2013-2024 Michael Rose - mademistakes.com | @mmistakes
2
+ * Minimal Mistakes Jekyll Theme 4.27.0 by Michael Rose
3
+ * Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
4
4
  * Free for personal and commercial use under the MIT license
5
5
  * https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
6
6
  */
@@ -1,4 +1,4 @@
1
- {% assign entries = site[include.collection] | where_exp: "post", "post.hidden != true" %}
1
+ {% assign entries = include.entries | default: site[include.collection] | where_exp: "post", "post.hidden != true" %}
2
2
 
3
3
  {% if include.sort_by %}
4
4
  {% assign entries = entries | sort: include.sort_by %}
@@ -9,5 +9,5 @@
9
9
  {% endif %}
10
10
 
11
11
  {%- for post in entries -%}
12
- {% include archive-single.html %}
12
+ {% include archive-single.html type=include.type %}
13
13
  {%- endfor -%}
data/_includes/figure CHANGED
@@ -1,7 +1,7 @@
1
1
  <figure class="{{ include.class }}">
2
- {%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup" title="{% if include.caption %}{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}{% endif %}">{%- endif -%}
2
+ {%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
3
3
  <img src="{{ include.image_path | relative_url }}"
4
- alt="{% if include.alt %}{{ include.alt }}{% endif %}">
4
+ alt="{% if include.alt %}{{ include.alt | escape_once }}{% endif %}">
5
5
  {%- if include.popup -%}</a>{%- endif -%}
6
6
  {%- if include.caption -%}
7
7
  <figcaption>
@@ -18,4 +18,4 @@
18
18
  </ul>
19
19
  </div>
20
20
 
21
- <div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
21
+ <div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
data/_includes/head.html CHANGED
@@ -9,7 +9,7 @@
9
9
  {%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
10
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
11
 
12
- <script type="text/javascript">
12
+ <script>
13
13
  document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
14
14
  {% if site.enable_copy_code_button -%}
15
15
  window.enable_copy_code_button = true;
@@ -1,14 +1,14 @@
1
1
  {% if page.previous or page.next %}
2
2
  <nav class="pagination">
3
3
  {% if page.previous %}
4
- <a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
4
+ <a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
5
5
  {% else %}
6
6
  <a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
7
7
  {% endif %}
8
8
  {% if page.next %}
9
- <a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
9
+ <a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
10
10
  {% else %}
11
11
  <a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
12
12
  {% endif %}
13
13
  </nav>
14
- {% endif %}
14
+ {% endif %}
data/_includes/seo.html CHANGED
@@ -2,7 +2,11 @@
2
2
  {%- assign title_separator = site.title_separator | default: '-' -%}
3
3
 
4
4
  {%- assign page_title = page.title | default: site.title | replace: '|', '&#124;' -%}
5
- {%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '&#124;' -%}
5
+ {%- if page_title contains site.title -%}
6
+ {%- assign seo_title = page_title | replace: '|', '&#124;' -%}
7
+ {%- else -%}
8
+ {%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '&#124;' -%}
9
+ {%- endif -%}
6
10
 
7
11
  {%- assign page_title = page_title | markdownify | strip_html | strip_newlines | escape_once -%}
8
12
  {%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
@@ -1,11 +1,15 @@
1
1
  <section class="page__share">
2
- {% if site.data.ui-text[site.locale].share_on_label %}
3
- <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
- {% endif %}
2
+ <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
5
3
 
6
- <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
4
+ <a href="https://x.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--x" aria-label="Share on X" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} X">
5
+ <i class="fas fa-fw fa-share-alt" aria-hidden="true"></i><span> X</span>
6
+ </a>
7
7
 
8
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
8
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" aria-label="Share on Facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook">
9
+ <i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span>
10
+ </a>
9
11
 
10
- <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
12
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
13
+ <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
14
+ </a>
11
15
  </section>
@@ -20,7 +20,7 @@ author_profile: false
20
20
 
21
21
  <div class="archive">
22
22
  {% unless page.header.overlay_color or page.header.overlay_image %}
23
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
23
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
24
24
  {% endunless %}
25
25
  {% for post in page.posts %}
26
26
  {% include archive-single.html %}
@@ -19,7 +19,7 @@ layout: default
19
19
 
20
20
  <div class="archive">
21
21
  {% unless page.header.overlay_color or page.header.overlay_image %}
22
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
22
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
23
23
  {% endunless %}
24
24
  {{ content }}
25
25
  </div>
@@ -3,13 +3,13 @@
3
3
 
4
4
  <!doctype html>
5
5
  {% include copyright.html %}
6
- <html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
6
+ <html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
7
7
  <head>
8
8
  {% include head.html %}
9
9
  {% include head/custom.html %}
10
10
  </head>
11
11
 
12
- <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
12
+ <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
13
13
  {% include_cached skip-links.html %}
14
14
  {% include_cached masthead.html %}
15
15
 
data/_layouts/home.html CHANGED
@@ -14,9 +14,7 @@ layout: archive
14
14
 
15
15
  {% assign entries_layout = page.entries_layout | default: 'list' %}
16
16
  <div class="entries-{{ entries_layout }}">
17
- {% for post in posts %}
18
- {% include archive-single.html type=entries_layout %}
19
- {% endfor %}
17
+ {% include documents-collection.html entries=posts type=entries_layout %}
20
18
  </div>
21
19
 
22
20
  {% include paginator.html %}
data/_layouts/search.html CHANGED
@@ -17,7 +17,7 @@ layout: default
17
17
 
18
18
  <div class="archive">
19
19
  {% unless page.header.overlay_color or page.header.overlay_image %}
20
- <h1 id="page-title" class="page__title">{{ page.title }}</h1>
20
+ <h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
21
21
  {% endunless %}
22
22
 
23
23
  {{ content }}
data/_layouts/single.html CHANGED
@@ -21,7 +21,7 @@ layout: default
21
21
  <div id="main" role="main">
22
22
  {% include sidebar.html %}
23
23
 
24
- <article class="page" itemscope itemtype="https://schema.org/CreativeWork">
24
+ <article class="page" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
25
25
  {% if page.title %}<meta itemprop="headline" content="{{ page.title | replace: '|', '&#124;' | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
26
26
  {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
27
27
  {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
@@ -65,8 +65,15 @@ layout: default
65
65
  {% include post_pagination.html %}
66
66
  </div>
67
67
 
68
- {% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
69
- {% include comments.html %}
68
+ {% if site.comments.provider and page.comments %}
69
+ {% if jekyll.environment == 'production' %}
70
+ {% include comments.html %}
71
+ {% else %}
72
+ <p>
73
+ Comments are configured with provider: <strong>{{ site.comments.provider }}</strong>,
74
+ but are disabled in non-production environments.
75
+ </p>
76
+ {% endif %}
70
77
  {% endif %}
71
78
  </article>
72
79
 
data/_layouts/splash.html CHANGED
@@ -9,7 +9,7 @@ layout: default
9
9
  {% endif %}
10
10
 
11
11
  <div id="main" role="main">
12
- <article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
12
+ <article class="splash" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
13
13
  {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
14
14
  {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
15
15
  {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}