minimal-mistakes-jekyll 4.25.0 → 4.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -10
- data/LICENSE +1 -1
- data/README.md +19 -12
- data/_data/ui-text.yml +52 -0
- data/_includes/after-content.html +0 -0
- data/_includes/before-related.html +0 -0
- data/_includes/comments-providers/giscus.html +11 -1
- data/_includes/copyright.html +1 -1
- data/_includes/copyright.js +1 -1
- data/_includes/documents-collection.html +2 -4
- data/_includes/figure +2 -0
- data/_includes/head.html +5 -2
- data/_includes/masthead.html +5 -1
- data/_includes/nav_list +18 -17
- data/_includes/page__hero.html +1 -3
- data/_includes/page__related.html +11 -0
- data/_includes/paginator-v1.html +70 -0
- data/_includes/paginator-v2.html +68 -0
- data/_includes/paginator.html +5 -68
- data/_includes/posts-category.html +3 -4
- data/_includes/posts-tag.html +3 -4
- data/_includes/posts-taxonomy.html +37 -0
- data/_includes/schema.html +16 -0
- data/_includes/seo.html +15 -43
- data/_includes/toc.html +13 -6
- data/_layouts/archive.html +1 -1
- data/_layouts/categories.html +1 -37
- data/_layouts/default.html +1 -1
- data/_layouts/single.html +10 -25
- data/_layouts/tags.html +1 -37
- data/_sass/minimal-mistakes/_copyright.scss +1 -1
- data/_sass/minimal-mistakes/_utilities.scss +57 -0
- data/assets/js/_main.js +123 -45
- data/assets/js/lunr/lunr-store.js +1 -1
- data/assets/js/main.min.js +2 -2
- data/assets/js/main.min.js.map +1 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +1 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ef9cce9aa23ff10eab969ab4f54fe05de5e157b3a3f25f222b707a83aeb61a0
|
4
|
+
data.tar.gz: 592a1965254ef132d7f1c8f905951725ebe4080e71535e0590fe03aa43ff3365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f9e4387d34838fe1726ad88328b4168e42cf1063360e31278a099222cb66656c6df62c07a72ad12821d450eb945b835a6e8aa10251261f5d0050cd1ee544e85
|
7
|
+
data.tar.gz: ce2a66c3ffa4069ef04edbaba0a94b3a0c752c099b4af134501627a71a50f6dae2245e1565578d56910a593c274e9c5e7cfe6ebc7a52985c2c1b018960dd5871
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,59 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## Unreleased
|
4
|
+
|
5
|
+
### Bug Fixes
|
6
|
+
|
7
|
+
- Fix an unclosed `<p>` tag in `page__hero.html`, near `page.header.actions`.
|
8
|
+
- Remove overlay and revert X to hamburger icon when popup disappears. [#3958](https://github.com/mmistakes/minimal-mistakes/pull/3958)
|
9
|
+
- Fix SEO title when it contains a vertical bar. [#3094](https://github.com/mmistakes/minimal-mistakes/pull/3094) [#3113](https://github.com/mmistakes/minimal-mistakes/pull/3113)
|
10
|
+
- Remove "sticky sidebar" JS as it's now completely based on CSS media queries. [#4245](https://github.com/mmistakes/minimal-mistakes/issues/4245) [#4645](https://github.com/mmistakes/minimal-mistakes/pull/4645)
|
11
|
+
|
12
|
+
### Enhancements
|
13
|
+
|
14
|
+
- Add support for [Jekyll Paginate V2](https://github.com/sverrirs/jekyll-paginate-v2) 🎉 [#2636](https://github.com/mmistakes/minimal-mistakes/pull/2636)
|
15
|
+
- Add "copy to clipboard" button for code blocks 🎉 [#2812](https://github.com/mmistakes/minimal-mistakes/pull/2812)
|
16
|
+
- Auto scroll sticky ToC with content. [#3115](https://github.com/mmistakes/minimal-mistakes/pull/3115)
|
17
|
+
- Replace "hidden" check in Liquid templates with `where_exp: "item", "item.hidden != true"`.
|
18
|
+
- Remove deprecated `page.header.cta_url` setting. [#4821](https://github.com/mmistakes/minimal-mistakes/pull/4821)
|
19
|
+
- Allow multiple nav lists in sidebar. [#2843](https://github.com/mmistakes/minimal-mistakes/pull/2843)
|
20
|
+
- Add popup parameter to `{% include figure %}` to enable Magnific Popup. [#3119](https://github.com/mmistakes/minimal-mistakes/pull/3119)
|
21
|
+
- Add target attribute for navigation link. [#3056](https://github.com/mmistakes/minimal-mistakes/pull/3056)
|
22
|
+
- Split schema to a separate include file. [#3085](https://github.com/mmistakes/minimal-mistakes/pull/3085)
|
23
|
+
- Cleanup `_includes/seo.html`.
|
24
|
+
|
25
|
+
### Documentation & Maintenance
|
26
|
+
|
27
|
+
- Rewrite skin previews on `05-configuration.md` in Liquid template.
|
28
|
+
- Remove unused classes from `_layouts/single.html`.
|
29
|
+
- Migrate npm run scripts to Ruby Rake tasks.
|
30
|
+
- Add Rake task `version` for updating all hard-coded version numbers from `package.json` all at once.
|
31
|
+
- Merge `categories` and `tags` layout into `_includes/posts-taxonomy.html`.
|
32
|
+
- Update Social Sharing links section. [#4066](https://github.com/mmistakes/minimal-mistakes/pull/4066)
|
33
|
+
|
34
|
+
## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1)
|
35
|
+
|
36
|
+
### Bug Fixes
|
37
|
+
|
38
|
+
- "You may also enjoy" no longer recommends hidden posts. [#4653](https://github.com/mmistakes/minimal-mistakes/issues/4653)
|
39
|
+
- Replaced dead link to "Viewport and Media Queries" slides. [#4421](https://github.com/mmistakes/minimal-mistakes/discussions/4421)
|
40
|
+
- Fix broken `where_exp` in `lunr-store.js` for Jekyll < 4.0. [#4808](https://github.com/mmistakes/minimal-mistakes/issues/4808)
|
41
|
+
|
42
|
+
### Enhancements
|
43
|
+
|
44
|
+
- Add Ukrainian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273)
|
45
|
+
- Add more configuration for Giscus. [#4274](https://github.com/mmistakes/minimal-mistakes/pull/4274)
|
46
|
+
- Bump jekyll-toc to [v1.2.1](https://github.com/allejo/jekyll-toc/releases/tag/v1.2.1).
|
47
|
+
|
48
|
+
### Documentation & Maintenance
|
49
|
+
|
50
|
+
- Bump shell-quote from 1.7.1 to 1.7.3 [#3692](https://github.com/mmistakes/minimal-mistakes/issues/3692)
|
51
|
+
- Add `after-content.html` and `before-related.html` includes to ease docs site overrides.
|
52
|
+
- GitHub Workflows security hardening [#3884](https://github.com/mmistakes/minimal-mistakes/issues/3884)
|
53
|
+
- Replace Font Awesome v5 search page with v6.
|
54
|
+
- Try adding an FAQ page.
|
55
|
+
- Update remote theme reference in Quick-Start Guide to point to 4.25.0. [#4809](https://github.com/mmistakes/minimal-mistakes/issues/4809)
|
56
|
+
|
3
57
|
## [4.25.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.0)
|
4
58
|
|
5
59
|
### Bug Fixes
|
@@ -10,14 +64,9 @@
|
|
10
64
|
- Remove JS and other files from search index [#4000](https://github.com/mmistakes/minimal-mistakes/pull/4000)
|
11
65
|
- Fix unlisted YouTube video embeds in documentation/test sites. [#3649](https://github.com/mmistakes/minimal-mistakes/issues/3649)
|
12
66
|
- Fix error in Algolia search script when returning a hit that without `html` and `hightlight.html`. [#3101](https://github.com/mmistakes/minimal-mistakes/issues/3101) [#3102](https://github.com/mmistakes/minimal-mistakes/pull/3102)
|
13
|
-
- Fix links to Font Awesome gallery. [#3599](https://github.com/mmistakes/minimal-mistakes/pull/3599)
|
14
|
-
- Fix GreedyNav.js attribution link. [#3553](https://github.com/mmistakes/minimal-mistakes/pull/3553)
|
15
|
-
- Fix typo about loading JavaScript in layout documentation. [#3350](https://github.com/mmistakes/minimal-mistakes/pull/3350)
|
16
67
|
- Fix inline code style not applied to stylized text. [#3253](https://github.com/mmistakes/minimal-mistakes/pull/3253)
|
17
|
-
- Fix documentation typos. [#3232](https://github.com/mmistakes/minimal-mistakes/pull/3232) [#3318](https://github.com/mmistakes/minimal-mistakes/pull/3318)
|
18
68
|
- Fix Keybase icon in author sidebar. [#3221](https://github.com/mmistakes/minimal-mistakes/pull/3221)
|
19
69
|
- Fix sort order of Staticman comments when data files aren't named alphabetically. [#3184](https://github.com/mmistakes/minimal-mistakes/pull/3184)
|
20
|
-
- Fix broken documentation link and add Baidu site verification to `_config.yml` files. [#3139](https://github.com/mmistakes/minimal-mistakes/pull/3139)
|
21
70
|
- Fix `layout: compress` issue with HTML comment in video include. [#3117](https://github.com/mmistakes/minimal-mistakes/pull/3117)
|
22
71
|
- Add Magnific Popup class to anchors that only contain an `img` element. [#3111](https://github.com/mmistakes/minimal-mistakes/issues/3111) [#3114](https://github.com/mmistakes/minimal-mistakes/pull/3114)
|
23
72
|
- Fix heading level of related posts section from `h4` to `h2` to improve accessibility and SEO. [#3064](https://github.com/mmistakes/minimal-mistakes/pull/3064)
|
@@ -26,10 +75,10 @@
|
|
26
75
|
|
27
76
|
### Enhancements
|
28
77
|
|
29
|
-
- Add site.copyright and site.copyright_url config options [#4313](https://github.com/mmistakes/minimal-mistakes/pull/4313)
|
78
|
+
- Add `site.copyright` and `site.copyright_url` config options [#4313](https://github.com/mmistakes/minimal-mistakes/pull/4313)
|
30
79
|
- Lazy-load InstantSearch scripts and stylesheets [#3691](https://github.com/mmistakes/minimal-mistakes/pull/3691)
|
31
80
|
- Improve Finnish translations [#4595](https://github.com/mmistakes/minimal-mistakes/pull/4595)
|
32
|
-
- Remove redundant downcase from _layouts/categories.html. [#4531](https://github.com/mmistakes/minimal-mistakes/pull/4531)
|
81
|
+
- Remove redundant downcase from \_layouts/categories.html. [#4531](https://github.com/mmistakes/minimal-mistakes/pull/4531)
|
33
82
|
- Load latest Font Awesome package. [#3765](https://github.com/mmistakes/minimal-mistakes/pull/3765)
|
34
83
|
- Add missing Polish missing UI text strings. [#3969](https://github.com/mmistakes/minimal-mistakes/pull/3969)
|
35
84
|
- Update breadcrumbs conditional to enable/disable them via Front Matter on pages using `layout: single`. [#3096](https://github.com/mmistakes/minimal-mistakes/pull/3096) [#3669](https://github.com/mmistakes/minimal-mistakes/pull/3669)
|
@@ -40,16 +89,26 @@
|
|
40
89
|
- Update jQuery to v3.6.0. [#3254](https://github.com/mmistakes/minimal-mistakes/pull/3254)
|
41
90
|
- Use notice `<a>` colors for blockquotes that have `notice--` classes applied. [#3140](https://github.com/mmistakes/minimal-mistakes/pull/3140) [#3068](https://github.com/mmistakes/minimal-mistakes/issues/3068)
|
42
91
|
- Add sameAs itemprop to author link. [#3087](https://github.com/mmistakes/minimal-mistakes/pull/3087)
|
43
|
-
- Automatically close invalid PRs using GitHub Actions. [#3313](https://github.com/mmistakes/minimal-mistakes/pull/3313)
|
44
92
|
- Update and add missing Brazilian Portuguese translations. [#3204](https://github.com/mmistakes/minimal-mistakes/pull/3204)
|
45
|
-
- Add link to documentation clarifying how to add plugins. [#3181](https://github.com/mmistakes/minimal-mistakes/pull/3181)
|
46
93
|
- Add optional label attribute for utterances comments. [#3128](https://github.com/mmistakes/minimal-mistakes/pull/3128)
|
47
|
-
- Bump path-parse from 1.0.6 to 1.0.7. [#3116](https://github.com/mmistakes/minimal-mistakes/pull/3116)
|
48
94
|
- Add missing Danish translations. [#3095](https://github.com/mmistakes/minimal-mistakes/pull/3095)
|
49
95
|
- Add ARIA role to search forms. [#3086](https://github.com/mmistakes/minimal-mistakes/pull/3086)
|
50
96
|
- Add overflow scroll bar to sticky table of contents that are taller than the viewport's height. [#2874](https://github.com/mmistakes/minimal-mistakes/pull/2874)
|
51
97
|
- Add Microformats markup. [#3052](https://github.com/mmistakes/minimal-mistakes/pull/3052)
|
98
|
+
|
99
|
+
### Documentation & Maintenance
|
100
|
+
|
101
|
+
- Fix links to Font Awesome gallery. [#3599](https://github.com/mmistakes/minimal-mistakes/pull/3599)
|
102
|
+
- Fix GreedyNav.js attribution link. [#3553](https://github.com/mmistakes/minimal-mistakes/pull/3553)
|
103
|
+
- Fix typo about loading JavaScript in layout documentation. [#3350](https://github.com/mmistakes/minimal-mistakes/pull/3350)
|
104
|
+
- Fix documentation typos. [#3232](https://github.com/mmistakes/minimal-mistakes/pull/3232) [#3318](https://github.com/mmistakes/minimal-mistakes/pull/3318)
|
105
|
+
- Add link to documentation clarifying how to add plugins. [#3181](https://github.com/mmistakes/minimal-mistakes/pull/3181)
|
106
|
+
- Fix broken documentation link and add Baidu site verification to `_config.yml` files. [#3139](https://github.com/mmistakes/minimal-mistakes/pull/3139)
|
107
|
+
- Bump path-parse from 1.0.6 to 1.0.7. [#3116](https://github.com/mmistakes/minimal-mistakes/pull/3116)
|
108
|
+
- Automatically close invalid PRs using GitHub Actions. [#3313](https://github.com/mmistakes/minimal-mistakes/pull/3313)
|
52
109
|
- Add instructions on how to unminify `main.js` for easier browser debugging. [#3055](https://github.com/mmistakes/minimal-mistakes/pull/3055)
|
110
|
+
- Consolidate hard-coded version numbers where possible.
|
111
|
+
- Add Rakefile for automatically syncing CHANGELOG with history and synched them.
|
53
112
|
|
54
113
|
## [4.24.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.24.0)
|
55
114
|
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2013-
|
3
|
+
Copyright (c) 2013-2024 Michael Rose and contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
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), and Vietnamese.
|
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.
|
31
31
|
|
32
32
|
## Skins (color variations)
|
33
33
|
|
@@ -121,28 +121,30 @@ To install:
|
|
121
121
|
bundle
|
122
122
|
```
|
123
123
|
|
124
|
-
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.
|
124
|
+
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.26.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:
|
128
128
|
|
129
|
-
- README.md (this file)
|
130
129
|
- package.json
|
131
|
-
-
|
130
|
+
- README.md (this file)
|
131
|
+
- docs/_data/theme.yml
|
132
132
|
- docs/_pages/home.md (in Front Matter "excerpt")
|
133
133
|
|
134
|
-
|
135
|
-
|
136
|
-
Additionally, the license year is hard-coded in these files:
|
137
|
-
|
138
|
-
- README.md (this file, near the end)
|
139
|
-
- LICENSE
|
134
|
+
`package.json` holds the authoritative version number, and the others can be updated with `bundle exec rake version`.
|
140
135
|
|
141
136
|
The following files should also be regenerated:
|
142
137
|
|
143
138
|
- _includes/copyright.html, _includes/copyright.js, _sass/minimal-mistakes/_copyright.scss
|
144
139
|
(Run `bundle exec rake clean` then `bundle exec rake copyright` - all three references `package.json`)
|
145
|
-
- assets/js/main.min.js (Run `
|
140
|
+
- assets/js/main.min.js (Run `bundle exec rake js`, references `_includes/copyright.js`)
|
141
|
+
|
142
|
+
*Tip*: The default Rake task will update all of the above files at once.
|
143
|
+
|
144
|
+
Additionally, the license year is hard-coded in these files and are NOT covered by a Rake task:
|
145
|
+
|
146
|
+
- README.md (this file, near the end)
|
147
|
+
- LICENSE
|
146
148
|
-->
|
147
149
|
|
148
150
|
**Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
|
@@ -202,12 +204,13 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|
202
204
|
- [Gumshoe](https://github.com/cferdinandi/gumshoe)
|
203
205
|
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
|
204
206
|
- [Lunr](http://lunrjs.com)
|
207
|
+
- [Clipboard.js](https://clipboardjs.com)
|
205
208
|
|
206
209
|
## License
|
207
210
|
|
208
211
|
The MIT License (MIT)
|
209
212
|
|
210
|
-
Copyright (c) 2013-
|
213
|
+
Copyright (c) 2013-2024 Michael Rose and contributors
|
211
214
|
|
212
215
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
213
216
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -280,3 +283,7 @@ Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT
|
|
280
283
|
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
281
284
|
Copyright (c) 2018 Oliver Nightingale.
|
282
285
|
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
286
|
+
|
287
|
+
Minimal Mistakes incorporates [clipboard.js](https://clipboardjs.com/),
|
288
|
+
Copyright (c) 2021 Zeno Rocha.
|
289
|
+
Clipboard.js is distributed under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_data/ui-text.yml
CHANGED
@@ -2022,6 +2022,58 @@ sw-KE:
|
|
2022
2022
|
sw-TZ:
|
2023
2023
|
<<: *DEFAULT_SW
|
2024
2024
|
|
2025
|
+
# Ukrainian / Українська
|
2026
|
+
# -----------------
|
2027
|
+
uk: &DEFAULT_UK
|
2028
|
+
skip_links : "Посилання для переходу"
|
2029
|
+
skip_primary_nav : "Перейти до основної навігації"
|
2030
|
+
skip_content : "Перейти до змісту"
|
2031
|
+
skip_footer : "Перейти до нижнього колонтитула"
|
2032
|
+
page : "Сторінка"
|
2033
|
+
pagination_previous : "Попередня"
|
2034
|
+
pagination_next : "Наступна"
|
2035
|
+
breadcrumb_home_label : "Головна"
|
2036
|
+
breadcrumb_separator : "/"
|
2037
|
+
menu_label : "Випадаюче меню"
|
2038
|
+
search_label : "Пошук"
|
2039
|
+
toc_label : "Зміст"
|
2040
|
+
ext_link_label : "Пряме посилання"
|
2041
|
+
less_than : "менше ніж"
|
2042
|
+
minute_read : "хв. на чітання"
|
2043
|
+
share_on_label : "Поділитися"
|
2044
|
+
meta_label :
|
2045
|
+
tags_label : "Мітки:"
|
2046
|
+
categories_label : "Розділи:"
|
2047
|
+
date_label : "Дата зміни:"
|
2048
|
+
comments_label : "Залишити коментар"
|
2049
|
+
comments_title : "Коментарі"
|
2050
|
+
more_label : "Читати далі"
|
2051
|
+
related_label : "Вам також може сподобатись"
|
2052
|
+
follow_label : "Зв'язатися зі мною:"
|
2053
|
+
feed_label : "RSS-стрічка"
|
2054
|
+
powered_by : "Сайт працює на"
|
2055
|
+
website_label : "Сайт"
|
2056
|
+
email_label : "Электронна пошта"
|
2057
|
+
recent_posts : "Останні записи"
|
2058
|
+
undefined_wpm : "Не визначено параметр words_per_minute в _config.yml"
|
2059
|
+
comment_form_info : "Вашу адресу електронної пошти не буде опубліковано. Обов'язкові поля позначені"
|
2060
|
+
comment_form_comment_label : "Коментар"
|
2061
|
+
comment_form_md_info : "Підтримується синтаксис Markdown."
|
2062
|
+
comment_form_name_label : "Ім'я"
|
2063
|
+
comment_form_email_label : "Електронна пошта"
|
2064
|
+
comment_form_website_label : "Посилання на сайт (необов'язково)"
|
2065
|
+
comment_btn_submit : "Залишити коментар"
|
2066
|
+
comment_btn_submitted : "Відправлено"
|
2067
|
+
comment_success_msg : "Дякую за Ваш коментар! Його буде опубліковано на сайті після перевірки."
|
2068
|
+
comment_error_msg : "На жаль, сталася помилка з надсиланням коментаря. Будь ласка, переконайтеся, що всі обов'язкові поля заповнені та спробуйте знову."
|
2069
|
+
loading_label : "Відправка..."
|
2070
|
+
search_label_text : "Введіть пошуковий запит..."
|
2071
|
+
search_placeholder_text : "Введіть пошуковий запит..."
|
2072
|
+
search_algolia_no_results :
|
2073
|
+
results_found : "Знайдено"
|
2074
|
+
uk-UA:
|
2075
|
+
<<: *DEFAULT_UK
|
2076
|
+
|
2025
2077
|
# Another locale
|
2026
2078
|
# --------------
|
2027
2079
|
#
|
File without changes
|
File without changes
|
@@ -9,16 +9,26 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
var script = document.createElement('script');
|
12
|
+
|
12
13
|
script.setAttribute('src', 'https://giscus.app/client.js');
|
13
14
|
script.setAttribute('data-repo', '{{ site.repository | downcase }}');
|
14
15
|
script.setAttribute('data-repo-id', '{{ site.comments.giscus.repo_id }}');
|
15
16
|
script.setAttribute('data-category', '{{ site.comments.giscus.category_name }}');
|
16
17
|
script.setAttribute('data-category-id', '{{ site.comments.giscus.category_id }}');
|
17
18
|
script.setAttribute('data-mapping', '{{ site.comments.giscus.discussion_term | default: "pathname" }}');
|
19
|
+
script.setAttribute('data-strict', '{{ site.comments.giscus.strict | default: 0 }}');
|
18
20
|
script.setAttribute('data-reactions-enabled', '{{ site.comments.giscus.reactions_enabled | default: 1 }}');
|
21
|
+
script.setAttribute('data-emit-metadata', '{{ site.comments.giscus.emit_metadata | default: 0 }}');
|
22
|
+
script.setAttribute('data-input-position', '{{ site.comments.giscus.input_position | default: "top" }}');
|
19
23
|
script.setAttribute('data-theme', '{{ site.comments.giscus.theme | default: "light" }}');
|
24
|
+
script.setAttribute('data-lang', '{{ site.comments.giscus.lang | default: "en" }}');
|
25
|
+
{% if site.comments.giscus.lazy %}
|
26
|
+
script.setAttribute('data-loading', 'lazy');
|
27
|
+
{% endif %}
|
20
28
|
script.setAttribute('crossorigin', 'anonymous');
|
21
29
|
|
30
|
+
script.setAttribute('async', '');
|
31
|
+
|
22
32
|
commentContainer.appendChild(script);
|
23
33
|
})();
|
24
|
-
</script>
|
34
|
+
</script>
|
data/_includes/copyright.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!--
|
2
|
-
Minimal Mistakes Jekyll Theme 4.
|
2
|
+
Minimal Mistakes Jekyll Theme 4.26.0 by Michael Rose
|
3
3
|
Copyright 2013-2024 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
|
data/_includes/copyright.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Minimal Mistakes Jekyll Theme 4.
|
2
|
+
* Minimal Mistakes Jekyll Theme 4.26.0 by Michael Rose
|
3
3
|
* Copyright 2013-2024 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
|
@@ -1,4 +1,4 @@
|
|
1
|
-
{% assign entries = site[include.collection] %}
|
1
|
+
{% assign entries = 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,7 +9,5 @@
|
|
9
9
|
{% endif %}
|
10
10
|
|
11
11
|
{%- for post in entries -%}
|
12
|
-
{
|
13
|
-
{% include archive-single.html %}
|
14
|
-
{%- endunless -%}
|
12
|
+
{% include archive-single.html %}
|
15
13
|
{%- endfor -%}
|
data/_includes/figure
CHANGED
@@ -1,6 +1,8 @@
|
|
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
3
|
<img src="{{ include.image_path | relative_url }}"
|
3
4
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
5
|
+
{%- if include.popup -%}</a>{%- endif -%}
|
4
6
|
{%- if include.caption -%}
|
5
7
|
<figcaption>
|
6
8
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
data/_includes/head.html
CHANGED
@@ -6,11 +6,14 @@
|
|
6
6
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
7
7
|
{% endunless %}
|
8
8
|
|
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>
|
12
|
+
<script type="text/javascript">
|
13
13
|
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
|
14
|
+
{% if site.enable_copy_code_button -%}
|
15
|
+
window.enable_copy_code_button = true;
|
16
|
+
{%- endif %}
|
14
17
|
</script>
|
15
18
|
|
16
19
|
<!-- For all browsers -->
|
data/_includes/masthead.html
CHANGED
@@ -14,7 +14,11 @@
|
|
14
14
|
<ul class="visible-links">
|
15
15
|
{%- for link in site.data.navigation.main -%}
|
16
16
|
<li class="masthead__menu-item">
|
17
|
-
<a
|
17
|
+
<a
|
18
|
+
href="{{ link.url | relative_url }}"
|
19
|
+
{% if link.description %} title="{{ link.description }}"{% endif %}
|
20
|
+
{% if link.target %} target="{{ link.target }}"{% endif %}
|
21
|
+
>{{ link.title }}</a>
|
18
22
|
</li>
|
19
23
|
{%- endfor -%}
|
20
24
|
</ul>
|
data/_includes/nav_list
CHANGED
@@ -1,26 +1,27 @@
|
|
1
|
-
{% assign navigation = site.data.navigation[include.nav] %}
|
2
|
-
|
3
1
|
<nav class="nav__list">
|
4
2
|
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
|
5
3
|
<input id="ac-toc" name="accordion-toc" type="checkbox" />
|
6
4
|
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
|
7
5
|
<ul class="nav__items">
|
8
|
-
{% for
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
6
|
+
{% for navname in include.nav %}
|
7
|
+
{% assign navigation = site.data.navigation[navname] %}
|
8
|
+
{% for nav in navigation %}
|
9
|
+
<li>
|
10
|
+
{% if nav.url %}
|
11
|
+
<a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
12
|
+
{% else %}
|
13
|
+
<span class="nav__sub-title">{{ nav.title }}</span>
|
14
|
+
{% endif %}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
16
|
+
{% if nav.children != null %}
|
17
|
+
<ul>
|
18
|
+
{% for child in nav.children %}
|
19
|
+
<li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
|
20
|
+
{% endfor %}
|
21
|
+
</ul>
|
22
|
+
{% endif %}
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
24
25
|
{% endfor %}
|
25
26
|
</ul>
|
26
27
|
</nav>
|
data/_includes/page__hero.html
CHANGED
@@ -36,14 +36,12 @@
|
|
36
36
|
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
37
37
|
{% endif %}
|
38
38
|
{% include page__meta.html %}
|
39
|
-
{% if page.header.cta_url %}
|
40
|
-
<p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
41
|
-
{% endif %}
|
42
39
|
{% if page.header.actions %}
|
43
40
|
<p>
|
44
41
|
{% for action in page.header.actions %}
|
45
42
|
<a href="{{ action.url | relative_url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
|
46
43
|
{% endfor %}
|
44
|
+
</p>
|
47
45
|
{% endif %}
|
48
46
|
</div>
|
49
47
|
{% else %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% assign posts = include.posts | where_exp: "post", "post.hidden != true" %}
|
2
|
+
<div class="page__related">
|
3
|
+
{% include before-related.html %}
|
4
|
+
<h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2>
|
5
|
+
<div class="grid__wrapper">
|
6
|
+
{% for post in posts limit:4 %}
|
7
|
+
{% if post.id == page.id %}{% continue %}{% endif %}
|
8
|
+
{% include archive-single.html type="grid" %}
|
9
|
+
{% endfor %}
|
10
|
+
</div>
|
11
|
+
</div>
|
@@ -0,0 +1,70 @@
|
|
1
|
+
{% if paginator.total_pages > 1 %}
|
2
|
+
<nav class="pagination">
|
3
|
+
{% assign paginate_path_last = site.paginate_path | split: '/' | last %}
|
4
|
+
{% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: paginate_path_last, '' | replace: '//', '/' | relative_url %}
|
5
|
+
<ul>
|
6
|
+
{% comment %} Link for previous page {% endcomment %}
|
7
|
+
{% if paginator.previous_page %}
|
8
|
+
{% if paginator.previous_page == 1 %}
|
9
|
+
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
10
|
+
{% else %}
|
11
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
12
|
+
{% endif %}
|
13
|
+
{% else %}
|
14
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% comment %} First page {% endcomment %}
|
18
|
+
{% if paginator.page == 1 %}
|
19
|
+
<li><a href="#" class="disabled current">1</a></li>
|
20
|
+
{% else %}
|
21
|
+
<li><a href="{{ first_page_path }}">1</a></li>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% assign page_start = 2 %}
|
25
|
+
{% if paginator.page > 4 %}
|
26
|
+
{% assign page_start = paginator.page | minus: 2 %}
|
27
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
28
|
+
<li><a href="#" class="disabled">…</a></li>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
{% assign page_end = paginator.total_pages | minus: 1 %}
|
32
|
+
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
33
|
+
{% if pages_to_end > 4 %}
|
34
|
+
{% assign page_end = paginator.page | plus: 2 %}
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
{% for index in (page_start..page_end) %}
|
38
|
+
{% if index == paginator.page %}
|
39
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
|
40
|
+
{% else %}
|
41
|
+
{% comment %} Distance from current page and this link {% endcomment %}
|
42
|
+
{% assign dist = paginator.page | minus: index %}
|
43
|
+
{% if dist < 0 %}
|
44
|
+
{% comment %} Distance must be a positive value {% endcomment %}
|
45
|
+
{% assign dist = 0 | minus: dist %}
|
46
|
+
{% endif %}
|
47
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
|
48
|
+
{% endif %}
|
49
|
+
{% endfor %}
|
50
|
+
|
51
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
52
|
+
{% if pages_to_end > 3 %}
|
53
|
+
<li><a href="#" class="disabled">…</a></li>
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% if paginator.page == paginator.total_pages %}
|
57
|
+
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
58
|
+
{% else %}
|
59
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
60
|
+
{% endif %}
|
61
|
+
|
62
|
+
{% comment %} Link next page {% endcomment %}
|
63
|
+
{% if paginator.next_page %}
|
64
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
65
|
+
{% else %}
|
66
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
67
|
+
{% endif %}
|
68
|
+
</ul>
|
69
|
+
</nav>
|
70
|
+
{% endif %}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<nav class="pagination">
|
2
|
+
<ul>
|
3
|
+
{% comment %} Link for previous page {% endcomment %}
|
4
|
+
{% if paginator.previous_page %}
|
5
|
+
{% if paginator.previous_page == 1 %}
|
6
|
+
<li><a href="{{ paginator.first_page_path | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
7
|
+
{% else %}
|
8
|
+
<li><a href="{{ paginator.previous_page_path | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
9
|
+
{% endif %}
|
10
|
+
{% else %}
|
11
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
{% comment %} Determine whether the first page and the last page are already included in trail {% endcomment %}
|
15
|
+
{% for trail in paginator.page_trail %}
|
16
|
+
{% if trail.num == paginator.first_page %}
|
17
|
+
{% assign has_first_page = true %}
|
18
|
+
{% elsif trail.num == paginator.last_page %}
|
19
|
+
{% assign has_last_page = true %}
|
20
|
+
{% endif %}
|
21
|
+
{% endfor %}
|
22
|
+
|
23
|
+
{% comment %} First page {% endcomment %}
|
24
|
+
{% unless has_first_page %}
|
25
|
+
{% if paginator.page == 1 %}
|
26
|
+
<li><a href="#" class="disabled current">1</a></li>
|
27
|
+
{% else %}
|
28
|
+
<li><a href="{{ paginator.first_page_path | relative_url }}">1</a></li>
|
29
|
+
{% endif %}
|
30
|
+
{% endunless %}
|
31
|
+
|
32
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
33
|
+
{% assign ellipsis_start = paginator.first_page | plus: 1 %}
|
34
|
+
{% if paginator.page_trail.first.num > ellipsis_start %}
|
35
|
+
<li><a href="#" class="disabled">…</a></li>
|
36
|
+
{% endif %}
|
37
|
+
|
38
|
+
{% comment %} Main pagination trail {% endcomment %}
|
39
|
+
{% for trail in paginator.page_trail %}
|
40
|
+
{% if paginator.page == trail.num %}
|
41
|
+
<li><a href="{{ trail.path | remove: 'index.html' | relative_url }}" class="disabled current">{{ trail.num }}</a></li>
|
42
|
+
{% else %}
|
43
|
+
<li><a href="{{ trail.path | remove: 'index.html' | relative_url }}">{{ trail.num }}</a></li>
|
44
|
+
{% endif %}
|
45
|
+
{% endfor %}
|
46
|
+
|
47
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
48
|
+
{% assign ellipsis_end = paginator.last_page | minus: 1 %}
|
49
|
+
{% if paginator.page_trail.last.num < ellipsis_end %}
|
50
|
+
<li><a href="#" class="disabled">…</a></li>
|
51
|
+
{% endif %}
|
52
|
+
|
53
|
+
{% unless has_last_page %}
|
54
|
+
{% if paginator.page == paginator.total_pages %}
|
55
|
+
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
56
|
+
{% else %}
|
57
|
+
<li><a href="{{ paginator.last_page_path | remove: 'index.html' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
58
|
+
{% endif %}
|
59
|
+
{% endunless %}
|
60
|
+
|
61
|
+
{% comment %} Link next page {% endcomment %}
|
62
|
+
{% if paginator.next_page %}
|
63
|
+
<li><a href="{{ paginator.next_page_path | remove: 'index.html' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
64
|
+
{% else %}
|
65
|
+
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
66
|
+
{% endif %}
|
67
|
+
</ul>
|
68
|
+
</nav>
|