minimal-mistakes-jekyll 4.26.2 → 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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +2 -2
  4. data/_data/ui-text.yml +62 -9
  5. data/_includes/copyright.html +2 -2
  6. data/_includes/copyright.js +2 -2
  7. data/_includes/documents-collection.html +2 -2
  8. data/_includes/figure +1 -1
  9. data/_includes/footer.html +1 -1
  10. data/_includes/head.html +1 -1
  11. data/_includes/post_pagination.html +3 -3
  12. data/_includes/seo.html +5 -1
  13. data/_includes/social-share.html +10 -6
  14. data/_layouts/default.html +1 -1
  15. data/_layouts/home.html +1 -3
  16. data/_layouts/single.html +9 -2
  17. data/_sass/minimal-mistakes/_archive.scss +51 -83
  18. data/_sass/minimal-mistakes/_base.scss +6 -6
  19. data/_sass/minimal-mistakes/_buttons.scss +5 -4
  20. data/_sass/minimal-mistakes/_copyright.scss +2 -2
  21. data/_sass/minimal-mistakes/_footer.scss +6 -8
  22. data/_sass/minimal-mistakes/_forms.scss +20 -31
  23. data/_sass/minimal-mistakes/_masthead.scss +6 -8
  24. data/_sass/minimal-mistakes/_navigation.scss +37 -39
  25. data/_sass/minimal-mistakes/_notices.scss +1 -1
  26. data/_sass/minimal-mistakes/_page.scss +28 -45
  27. data/_sass/minimal-mistakes/_reset.scss +5 -8
  28. data/_sass/minimal-mistakes/_search.scss +3 -6
  29. data/_sass/minimal-mistakes/_sidebar.scss +23 -27
  30. data/_sass/minimal-mistakes/_syntax.scss +10 -5
  31. data/_sass/minimal-mistakes/_tables.scss +2 -2
  32. data/_sass/minimal-mistakes/_utilities.scss +25 -41
  33. data/_sass/minimal-mistakes/_variables.scss +4 -1
  34. data/_sass/minimal-mistakes/skins/_contrast.scss +1 -1
  35. data/assets/js/_main.js +19 -15
  36. data/assets/js/main.min.js +3 -3
  37. data/assets/js/main.min.js.map +1 -1
  38. data/assets/js/plugins/jquery.greedy-navigation.js +5 -1
  39. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecc74a3ce0daabe9352af2c6df9f721977e0828f469ca32b6d035567a0e2bda1
4
- data.tar.gz: e82443293ef2fbe0be75f1b6f63d3edbf014b1a7bdb1f3917b86dd2b1d28ea4b
3
+ metadata.gz: 56a5299d597e267b8ba641454984ff85eab76395ac8e03eeb18185c13c46fb33
4
+ data.tar.gz: 8c9cb75e8c5bd6cc8f8ca45e130784de8a7b057702d4c615bbbf07280a2e6c9b
5
5
  SHA512:
6
- metadata.gz: 60da64c06a172cd6fc2da33c15e89aef67e592d1493deb813aecbca3e00348380f3cf296f56f6adb205bc07b2c22dd79bd6f71d38066e8e64733c3b5e5a57f11
7
- data.tar.gz: 5699470cf94b96b68d1b62e9213d447b12b7883c6fd9c1949d2f7575cb7635adbaed9082d056ca1d60a308b316373d597ede8db351d35543a92d7a1751606d8a
6
+ metadata.gz: 9896564fd8d41b7bc317d697f3ced8ebddc6221b9c914f85de800855f35e6ae53b301d5dea6ddbf6ec16ed22ad1a199d27d3a2c1b41546b055cc3db08a69f42d
7
+ data.tar.gz: 304f0c4d913401bfea61a62733b95120ac76ecdf29307e70fcabb9fa8e8d93be0014bbc8baf5ffb8756d6ebf75f2c45d225ed16c0bcc8fa009d8ce2d3fc59438
data/CHANGELOG.md CHANGED
@@ -4,6 +4,38 @@
4
4
 
5
5
  ### Enhancements
6
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
+
7
39
  - Add Czech localization. [#4866](https://github.com/mmistakes/minimal-mistakes/pull/4866)
8
40
  - Allow overriding HTML `lang` attribute on a per-page basis. [#4862](https://github.com/mmistakes/minimal-mistakes/pull/4862)
9
41
 
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, 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.
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.2"` 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 : "بازگشت به بالا"
@@ -2127,6 +2127,59 @@ cs: &DEFAULT_CS
2127
2127
  cs-CZ:
2128
2128
  <<: *DEFAULT_CS
2129
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
+
2130
2183
  # Another locale
2131
2184
  # --------------
2132
2185
  #
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Minimal Mistakes Jekyll Theme 4.26.2 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.2 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
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>
@@ -9,7 +9,7 @@
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/single.html CHANGED
@@ -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
 
@@ -7,14 +7,14 @@
7
7
  margin-bottom: 2em;
8
8
 
9
9
  @include breakpoint($large) {
10
- float: right;
10
+ float: inline-end;
11
11
  width: calc(100% - #{$right-sidebar-width-narrow});
12
- padding-right: $right-sidebar-width-narrow;
12
+ padding-inline-end: $right-sidebar-width-narrow;
13
13
  }
14
14
 
15
15
  @include breakpoint($x-large) {
16
16
  width: calc(100% - #{$right-sidebar-width});
17
- padding-right: $right-sidebar-width;
17
+ padding-inline-end: $right-sidebar-width;
18
18
  }
19
19
  }
20
20
 
@@ -53,10 +53,7 @@
53
53
  a[rel="permalink"]::before {
54
54
  content: '';
55
55
  position: absolute;
56
- left: 0;
57
- top: 0;
58
- right: 0;
59
- bottom: 0;
56
+ inset: 0;
60
57
  }
61
58
 
62
59
  a + a {
@@ -98,14 +95,14 @@
98
95
  .archive__item-caption {
99
96
  position: absolute;
100
97
  bottom: 0;
101
- right: 0;
98
+ inset-inline-end: 0;
102
99
  margin: 0 auto;
103
100
  padding: 2px 5px;
104
101
  color: #fff;
105
102
  font-family: $caption-font-family;
106
103
  font-size: $type-size-8;
107
104
  background: #000;
108
- text-align: right;
105
+ text-align: end;
109
106
  z-index: 5;
110
107
  opacity: 0.5;
111
108
  border-radius: $border-radius 0 0 0;
@@ -140,11 +137,11 @@
140
137
  /* extend grid elements to the right */
141
138
 
142
139
  @include breakpoint($large) {
143
- margin-right: -1 * $right-sidebar-width-narrow;
140
+ margin-inline-end: -1 * $right-sidebar-width-narrow;
144
141
  }
145
142
 
146
143
  @include breakpoint($x-large) {
147
- margin-right: -1 * $right-sidebar-width;
144
+ margin-inline-end: -1 * $right-sidebar-width;
148
145
  }
149
146
  }
150
147
  }
@@ -153,23 +150,22 @@
153
150
  margin-bottom: 2em;
154
151
 
155
152
  @include breakpoint($small) {
156
- float: left;
153
+ float: inline-start;
157
154
  width: span(5 of 10);
158
155
 
159
156
  &:nth-child(2n + 1) {
160
157
  clear: both;
161
- margin-left: 0;
158
+ margin-inline-start: 0;
162
159
  }
163
160
 
164
161
  &:nth-child(2n + 2) {
165
162
  clear: none;
166
- margin-left: gutter(of 10);
163
+ margin-inline-start: gutter(of 10);
167
164
  }
168
165
  }
169
166
 
170
167
  @include breakpoint($medium) {
171
- margin-left: 0; /* override margin*/
172
- margin-right: 0; /* override margin*/
168
+ margin-inline: 0; /* override margin*/
173
169
  width: span(3 of 12);
174
170
 
175
171
  &:nth-child(2n + 1) {
@@ -182,17 +178,17 @@
182
178
 
183
179
  &:nth-child(4n + 2) {
184
180
  clear: none;
185
- margin-left: gutter(1 of 12);
181
+ margin-inline-start: gutter(1 of 12);
186
182
  }
187
183
 
188
184
  &:nth-child(4n + 3) {
189
185
  clear: none;
190
- margin-left: gutter(1 of 12);
186
+ margin-inline-start: gutter(1 of 12);
191
187
  }
192
188
 
193
189
  &:nth-child(4n + 4) {
194
190
  clear: none;
195
- margin-left: gutter(1 of 12);
191
+ margin-inline-start: gutter(1 of 12);
196
192
  }
197
193
  }
198
194
 
@@ -254,23 +250,23 @@
254
250
  font-size: 1.125em;
255
251
 
256
252
  @include breakpoint($small) {
257
- float: left;
253
+ float: inline-start;
258
254
  margin-bottom: 0;
259
255
  width: span(4 of 12);
260
256
 
261
257
  &:nth-child(3n + 1) {
262
258
  clear: both;
263
- margin-left: 0;
259
+ margin-inline-start: 0;
264
260
  }
265
261
 
266
262
  &:nth-child(3n + 2) {
267
263
  clear: none;
268
- margin-left: gutter(of 12);
264
+ margin-inline-start: gutter(of 12);
269
265
  }
270
266
 
271
267
  &:nth-child(3n + 3) {
272
268
  clear: none;
273
- margin-left: gutter(of 12);
269
+ margin-inline-start: gutter(of 12);
274
270
  }
275
271
 
276
272
  .feature__item-teaser {
@@ -280,114 +276,89 @@
280
276
  }
281
277
 
282
278
  .archive__item-body {
283
- padding-left: gutter(1 of 12);
284
- padding-right: gutter(1 of 12);
279
+ padding-inline: gutter(1 of 12);
285
280
  }
286
281
 
287
282
  a.btn::before {
288
283
  content: '';
289
284
  position: absolute;
290
- left: 0;
291
- top: 0;
292
- right: 0;
293
- bottom: 0;
285
+ inset: 0;
294
286
  }
295
287
 
296
- &--left {
288
+ &--left, &--right {
297
289
  position: relative;
298
- float: left;
299
- margin-left: 0;
300
- margin-right: 0;
290
+ margin-inline: 0;
301
291
  width: 100%;
302
292
  clear: both;
303
293
  font-size: 1.125em;
304
294
 
305
- .archive__item {
306
- float: left;
295
+ a.btn::before {
296
+ content: '';
297
+ position: absolute;
298
+ inset: 0;
307
299
  }
308
300
 
309
301
  .archive__item-teaser {
310
302
  margin-bottom: 2em;
311
303
  }
304
+ }
312
305
 
313
- a.btn::before {
314
- content: '';
315
- position: absolute;
316
- left: 0;
317
- top: 0;
318
- right: 0;
319
- bottom: 0;
306
+ &--left {
307
+ float: inline-start;
308
+
309
+ .archive__item {
310
+ float: inline-start;
320
311
  }
321
312
 
322
313
  @include breakpoint($small) {
323
314
  .archive__item-teaser {
324
- float: left;
315
+ float: inline-start;
325
316
  width: span(5 of 12);
326
317
  }
327
318
 
328
319
  .archive__item-body {
329
- float: right;
330
- padding-left: gutter(0.5 of 12);
331
- padding-right: gutter(1 of 12);
320
+ float: inline-end;
332
321
  width: span(7 of 12);
322
+ padding-inline-start: gutter(0.5 of 12);
323
+ padding-inline-end: gutter(1 of 12);
333
324
  }
334
325
  }
335
326
  }
336
327
 
337
328
  &--right {
338
- position: relative;
339
- float: left;
340
- margin-left: 0;
341
- margin-right: 0;
342
- width: 100%;
343
- clear: both;
344
- font-size: 1.125em;
329
+ float: inline-end;
345
330
 
346
331
  .archive__item {
347
- float: left;
348
- }
349
-
350
- .archive__item-teaser {
351
- margin-bottom: 2em;
352
- }
353
-
354
- a.btn::before {
355
- content: '';
356
- position: absolute;
357
- left: 0;
358
- top: 0;
359
- right: 0;
360
- bottom: 0;
332
+ float: inline-end;
361
333
  }
362
334
 
363
335
  @include breakpoint($small) {
364
- text-align: right;
336
+ text-align: end;
365
337
 
366
338
  .archive__item-teaser {
367
- float: right;
339
+ float: inline-end;
368
340
  width: span(5 of 12);
369
341
  }
370
342
 
371
343
  .archive__item-body {
372
- float: left;
344
+ float: inline-start;
373
345
  width: span(7 of 12);
374
- padding-left: gutter(0.5 of 12);
375
- padding-right: gutter(1 of 12);
346
+ padding-inline-start: gutter(1 of 12);
347
+ padding-inline-end: gutter(0.5 of 12);
376
348
  }
377
349
  }
378
350
  }
379
351
 
380
352
  &--center {
381
353
  position: relative;
382
- float: left;
383
- margin-left: 0;
384
- margin-right: 0;
354
+ float: inline-start;
355
+ margin-inline: 0;
385
356
  width: 100%;
386
357
  clear: both;
387
358
  font-size: 1.125em;
388
359
 
389
360
  .archive__item {
390
- float: left;
361
+ float: inline-start;
391
362
  width: 100%;
392
363
  }
393
364
 
@@ -398,10 +369,7 @@
398
369
  a.btn::before {
399
370
  content: '';
400
371
  position: absolute;
401
- left: 0;
402
- top: 0;
403
- right: 0;
404
- bottom: 0;
372
+ inset: 0;
405
373
  }
406
374
 
407
375
  @include breakpoint($small) {
@@ -442,14 +410,14 @@
442
410
  Wide Pages
443
411
  ========================================================================== */
444
412
 
445
- .wide {
413
+ .wide {
446
414
  .archive {
447
415
  @include breakpoint($large) {
448
- padding-right: 0;
416
+ padding-inline-end: 0;
449
417
  }
450
418
 
451
419
  @include breakpoint($x-large) {
452
- padding-right: 0;
420
+ padding-inline-end: 0;
453
421
  }
454
422
  }
455
423
  }