minimal-mistakes-jekyll 4.26.2 → 4.27.1

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 +44 -1
  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 +14 -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 +8 -6
  19. data/_sass/minimal-mistakes/_buttons.scss +6 -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 +26 -42
  33. data/_sass/minimal-mistakes/_variables.scss +46 -9
  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: 5c49579eaaaaaf711e7fd3acf530b12045012ecf53fc7d49e89f2b0782b190a5
4
+ data.tar.gz: 6be772c33fbe5d17f5d66d04bbba5fda49afdc3cc8e7e437a1dcef4920cc7a24
5
5
  SHA512:
6
- metadata.gz: 60da64c06a172cd6fc2da33c15e89aef67e592d1493deb813aecbca3e00348380f3cf296f56f6adb205bc07b2c22dd79bd6f71d38066e8e64733c3b5e5a57f11
7
- data.tar.gz: 5699470cf94b96b68d1b62e9213d447b12b7883c6fd9c1949d2f7575cb7635adbaed9082d056ca1d60a308b316373d597ede8db351d35543a92d7a1751606d8a
6
+ metadata.gz: 622fadf36f088e7568894d0894cec5d4a97612f0491c3ec6bda50b7c9cb0de610bf36fdbef0777edca073fe979cb63dad510258baa9c3217fcc9fc8664a310b7
7
+ data.tar.gz: 506cf5f4d3c5c25fd28cb28a0783bc5d1a36e81a43d47946d8e11a694a236e428008a5a3cb9e54209814a7abf920ca8d7f3d3eaf684a3d8c1afa0b3113f7c06e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,49 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## [4.27.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.1)
4
+
5
+ ### Enhancements
6
+
7
+ - Add a "Share on Bluesky" button (#5179)
8
+ - Add preset variables for modern font stack (#5033)
9
+
10
+ ### Bug Fixes
11
+
12
+ - Fix wrong icon and color for X share button.
13
+
14
+ ## [4.27.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.27.0)
15
+
16
+ ### Enhancements
17
+
18
+ - Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
19
+ - Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
20
+ - Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
21
+ - Remove unnecessary "type" attribute (#4956)
22
+ - The "if" means the default is never used (#4955)
23
+ - For pages without a title, show the site title only once (#4959)
24
+ - Use `documents-collection.html` partial in `home` layout.
25
+ - Add Bulgarian translation. [#5003](https://github.com/mmistakes/minimal-mistakes/pull/5003)
26
+ - Add provider and comments info to `single.html` layout for non-production. (#5068)
27
+ - Tweak contrast skin $primary-color to adhere to WCAG guidelines. (#5126)
28
+ - Update social share buttons to reflect Twitter rebranding to X (#5210)
29
+
30
+ ### Bug Fixes
31
+
32
+ - Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
33
+ - Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
34
+ - Fix reset stylesheet overruling `$doc-font-size`. [#4983](https://github.com/mmistakes/minimal-mistakes/issues/4983)
35
+ - 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)
36
+ - Fix bad <figure> HTML if "alt" contains quotes.
37
+ - Fix extra newline generated in `_includes/post_pagination.html`.
38
+ - Hide hidden links & remove the overlay when one is clicked. [#5042](https://github.com/mmistakes/minimal-mistakes/pull/5042)
39
+ - Fix typo in "Configuration" (#5106)
40
+ - bundle exec jekyll serve will fail if more than once (#5193)
41
+
42
+ ### Documentation & Maintenance
43
+
44
+ - Automatically update Algolia search index with GitHub Actions.
45
+
46
+ ## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
4
47
 
5
48
  ### Enhancements
6
49
 
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.1"` 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.1 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.1 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,19 @@
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="fab fa-fw fa-x-twitter" 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>
15
+
16
+ <a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" 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' }} Bluesky">
17
+ <i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
18
+ </a>
11
19
  </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