Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00fa7be38b | ||
|
|
297989c1be | ||
|
|
8adb089a68 | ||
|
|
ad094187f7 | ||
|
|
5aeff0c01b | ||
|
|
579d1759d1 | ||
|
|
cc9d1fdaf3 | ||
|
|
3b62fcef6b | ||
|
|
8152b4cbfc | ||
|
|
3c60ebde58 | ||
|
|
b997dc5e25 | ||
|
|
7597735c73 | ||
|
|
184f4f3430 | ||
|
|
351174e494 | ||
|
|
5704e9c0ae | ||
|
|
00d9900743 | ||
|
|
d9305929cf | ||
|
|
f2461af7a8 | ||
|
|
327a7b6f62 | ||
|
|
5516883310 | ||
|
|
1f9698ce37 | ||
|
|
1f0746f2d5 | ||
|
|
b4b8369f5b | ||
|
|
1d2a1c51df | ||
|
|
e7687a8e15 | ||
|
|
edd326376b | ||
|
|
e2f65248b0 | ||
|
|
e134d13e45 | ||
|
|
5423463ca0 | ||
|
|
65eb672dcc | ||
|
|
ee67ad9743 | ||
|
|
635b1790f3 | ||
|
|
4847ce3330 | ||
|
|
b0f5370ede | ||
|
|
4e2e64989f | ||
|
|
2127655ad8 | ||
|
|
b0261f7c43 | ||
|
|
68327eb69b | ||
|
|
1ae5b070b6 | ||
|
|
4710639f05 | ||
|
|
736f77c9c6 | ||
|
|
e1fce9fc94 | ||
|
|
4259ffdd6f | ||
|
|
de6870743d | ||
|
|
99cd379c61 | ||
|
|
5ffad0d956 | ||
|
|
b1e4881c50 | ||
|
|
c521fe58df | ||
|
|
2e05b8568b | ||
|
|
2301fdf5a7 | ||
|
|
8a39b748c2 | ||
|
|
deaed193af | ||
|
|
641ca6f3d8 | ||
|
|
3d3cb58a2e | ||
|
|
6e4aa384d0 | ||
|
|
c501842db8 |
+9
-5
@@ -1,6 +1,10 @@
|
|||||||
assets/fonts/* linguist-vendored
|
assets/fonts/* linguist-vendored
|
||||||
assets/js/main.min.js linguist-vendored
|
assets/js/main.min.js linguist-vendored
|
||||||
assets/js/lunr/* linguist-vendored
|
assets/js/lunr/* linguist-vendored
|
||||||
assets/js/plugins/* linguist-vendored
|
assets/js/plugins/* linguist-vendored
|
||||||
assets/js/vendor/* linguist-vendored
|
assets/js/vendor/* linguist-vendored
|
||||||
_sass/minimal-mistakes/vendor/* linguist-vendored
|
_sass/minimal-mistakes/vendor/* linguist-vendored
|
||||||
|
CHANGELOG.md text merge=union
|
||||||
|
docs/_docs/18-history.md text merge=union
|
||||||
|
|
||||||
|
*.md text
|
||||||
|
|||||||
+2
-1
@@ -1 +1,2 @@
|
|||||||
custom: https://www.paypal.me/mmistakes
|
github: mmistakes
|
||||||
|
custom: ['https://www.paypal.me/mmistakes']
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
name: "Close stale issues and PRs"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "30 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
stale-issue-message: |
|
||||||
|
This issue has been automatically marked as stale because it has not had recent activity.
|
||||||
|
|
||||||
|
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
|
||||||
|
|
||||||
|
If this is a feature request, please [add as an Idea under discussions](https://github.com/mmistakes/minimal-mistakes/discussions/categories/ideas) and elaborate on why it is core to this project and why you feel more than 80% of users would find it beneficial.
|
||||||
|
|
||||||
|
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
||||||
|
stale-pr-message: |
|
||||||
|
This pull request has been automatically marked as stale because it has not had recent activity.
|
||||||
|
|
||||||
|
This pull request will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
||||||
|
stale-issue-label: "Status: Stale"
|
||||||
|
exempt-issue-labels: "Status: Accepted,Status: Under Consideration,Status: Review Needed,Status: In Progress"
|
||||||
|
stale-pr-label: "Status: Stale"
|
||||||
|
exempt-pr-labels: "Status: Accepted,Status: Under Consideration,Status: Review Needed,Status: In Progress"
|
||||||
+38
-1
@@ -1,3 +1,40 @@
|
|||||||
|
## [4.24.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.24.0)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix README text for Gumshoejs license. [#3024](https://github.com/mmistakes/minimal-mistakes/pull/3024)
|
||||||
|
- Remove `tabindex="-1"` from `input` elements in `search.html` layout to allow them to be accessible by keyboard. [#2982](https://github.com/mmistakes/minimal-mistakes/issues/2982)
|
||||||
|
- Fix broken sidebar image in sample post. [#3013](https://github.com/mmistakes/minimal-mistakes/issues/3013)
|
||||||
|
- Fix broken links in Upgrading documentation. [#3004](https://github.com/mmistakes/minimal-mistakes/issues/3004)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Remove IE9 flexbox fallback. [#3042](https://github.com/mmistakes/minimal-mistakes/pull/3042)
|
||||||
|
- Remove `h2` from skip links navigation as it is not important for site structure. [#3012](https://github.com/mmistakes/minimal-mistakes/pull/3012)
|
||||||
|
- Loads Font Awesome asynchronously. [#2967](https://github.com/mmistakes/minimal-mistakes/pull/2967)
|
||||||
|
- Replace custom search icon SVG with Font Awesome icon. [#2774](https://github.com/mmistakes/minimal-mistakes/pull/2774)
|
||||||
|
- Adds support for giscus comments. [#3022](https://github.com/mmistakes/minimal-mistakes/pull/3022)
|
||||||
|
|
||||||
|
## [4.23.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.23.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Arabic (عربي) localized UI text strings. [#2936](https://github.com/mmistakes/minimal-mistakes/pull/2936)
|
||||||
|
- Update onchange and uglify-js dependencies.
|
||||||
|
- Document head and footer `custom.html` includes. [#2815](https://github.com/mmistakes/minimal-mistakes/pull/2815)
|
||||||
|
- Color notices based on skin colors instead of fixed values. [#2887](https://github.com/mmistakes/minimal-mistakes/pull/2887)
|
||||||
|
- Add configurable datetime format. [#2844](https://github.com/mmistakes/minimal-mistakes/pull/2844)
|
||||||
|
- Add Baidu site verification [#2830](https://github.com/mmistakes/minimal-mistakes/pull/2830)
|
||||||
|
- Add `alt` attribute to site logo. [#2529](https://github.com/mmistakes/minimal-mistakes/issues/2529) [#2824](https://github.com/mmistakes/minimal-mistakes/issues/2824)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix menu toggle to properly show close icon when open.
|
||||||
|
- Fix Jekyll environment note in configuration documentation. [#2912](https://github.com/mmistakes/minimal-mistakes/issues/2912)
|
||||||
|
- Fix typo in Helpers documentation. [#2940](https://github.com/mmistakes/minimal-mistakes/pull/2940)
|
||||||
|
- Remove all references to official public Staticman API instance. [#2818](https://github.com/mmistakes/minimal-mistakes/issues/2818) [#2831](https://github.com/mmistakes/minimal-mistakes/pull/2831)
|
||||||
|
- Remove Google Search CSS. [#2852](https://github.com/mmistakes/minimal-mistakes/issues/2852) [#2855](https://github.com/mmistakes/minimal-mistakes/pull/2855)
|
||||||
|
|
||||||
## [4.22.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.22.0)
|
## [4.22.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.22.0)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
@@ -10,7 +47,7 @@
|
|||||||
- Allow custom sorting for collections. [#2723](https://github.com/mmistakes/minimal-mistakes/pull/2723)
|
- Allow custom sorting for collections. [#2723](https://github.com/mmistakes/minimal-mistakes/pull/2723)
|
||||||
- Use `sort_natural` instead of custom Liquid logic to sort tags and categories. [#2756](https://github.com/mmistakes/minimal-mistakes/pull/2756)
|
- Use `sort_natural` instead of custom Liquid logic to sort tags and categories. [#2756](https://github.com/mmistakes/minimal-mistakes/pull/2756)
|
||||||
- Add configuration option to toggle off RSS feed link in `<head>` and site footer. [#2787](https://github.com/mmistakes/minimal-mistakes/pull/2787)
|
- Add configuration option to toggle off RSS feed link in `<head>` and site footer. [#2787](https://github.com/mmistakes/minimal-mistakes/pull/2787)
|
||||||
- Upgrade Lunrjs to 2.3.9 and switch to `relative_url`. [#2805]
|
- Upgrade Lunrjs to 2.3.9 and switch to `relative_url`. [#2805](https://github.com/mmistakes/minimal-mistakes/pull/2805)
|
||||||
- Adds `.webp` to list of supported image extensions for the image popup lightbox. [#2788](https://github.com/mmistakes/minimal-mistakes/pull/2788)
|
- Adds `.webp` to list of supported image extensions for the image popup lightbox. [#2788](https://github.com/mmistakes/minimal-mistakes/pull/2788)
|
||||||
- Add Hebrew localized UI text strings. [#2760](https://github.com/mmistakes/minimal-mistakes/pull/2760)
|
- Add Hebrew localized UI text strings. [#2760](https://github.com/mmistakes/minimal-mistakes/pull/2760)
|
||||||
- Update documentation to include `toc_sticky` parameter's description. [#2741](https://github.com/mmistakes/minimal-mistakes/pull/2741)
|
- Update documentation to include `toc_sticky` parameter's description. [#2741](https://github.com/mmistakes/minimal-mistakes/pull/2741)
|
||||||
|
|||||||
@@ -4,14 +4,16 @@
|
|||||||
[](https://jekyllrb.com/)
|
[](https://jekyllrb.com/)
|
||||||
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
||||||
[](https://www.paypal.me/mmistakes)
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
[](https://www.buymeacoffee.com/mmistakes)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
|
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) to continue developing and maintaining it.**
|
**If you enjoy this theme, please consider sponsoring:**
|
||||||
|
|
||||||
[](https://www.paypal.me/mmistakes)
|
[](https://www.buymeacoffee.com/mmistakes)
|
||||||
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
|
||||||
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
|
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
|
||||||
|
|
||||||
@@ -31,9 +33,9 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
|
|||||||
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
||||||
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data.
|
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data.
|
||||||
- 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.
|
- 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.
|
||||||
- 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/), and [utterances](https://utteranc.es/)).
|
- 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/)).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), 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, 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.
|
- 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, 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.
|
||||||
|
|
||||||
## Skins (color variations)
|
## Skins (color variations)
|
||||||
|
|
||||||
@@ -127,7 +129,7 @@ To install:
|
|||||||
bundle
|
bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.22.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
**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.
|
**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.
|
||||||
|
|
||||||
@@ -249,7 +251,7 @@ Smooth Scroll is distributed under the terms of the [MIT License](http://opensou
|
|||||||
|
|
||||||
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
|
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
|
||||||
Copyright (c) 2019 Chris Ferdinandi.
|
Copyright (c) 2019 Chris Ferdinandi.
|
||||||
Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
Gumshoejs is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
|
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
|
||||||
Copyright (c) 2010 "Cowboy" Ben Alman.
|
Copyright (c) 2010 "Cowboy" Ben Alman.
|
||||||
|
|||||||
+8
-1
@@ -30,7 +30,7 @@ masthead_title : # overrides the website title displayed in the masthe
|
|||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
|
||||||
disqus:
|
disqus:
|
||||||
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
||||||
discourse:
|
discourse:
|
||||||
@@ -43,6 +43,13 @@ comments:
|
|||||||
utterances:
|
utterances:
|
||||||
theme : # "github-light" (default), "github-dark"
|
theme : # "github-light" (default), "github-dark"
|
||||||
issue_term : # "pathname" (default)
|
issue_term : # "pathname" (default)
|
||||||
|
giscus:
|
||||||
|
repo_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
category_name : # Full text name of the category
|
||||||
|
category_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
discussion_term : # "pathname" (default), "url", "title", "og:title"
|
||||||
|
reactions_enabled : # '1' for enabled (default), '0' for disabled
|
||||||
|
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
|
||||||
staticman:
|
staticman:
|
||||||
branch : # "master"
|
branch : # "master"
|
||||||
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
||||||
|
|||||||
+60
-1
@@ -1905,6 +1905,65 @@ he: &DEFAULT_HE
|
|||||||
he-IL:
|
he-IL:
|
||||||
<<: *DEFAULT_HE
|
<<: *DEFAULT_HE
|
||||||
|
|
||||||
|
# Arabic (عربي)
|
||||||
|
# --------------
|
||||||
|
ar: &DEFAULT_AR
|
||||||
|
skip_links : "تخطي الروابط"
|
||||||
|
skip_primary_nav : "تخطى الى شريط التنقل"
|
||||||
|
skip_content : "الانتقال الى المحتوى"
|
||||||
|
skip_footer : "الانتقال الى ذيل الصفحة"
|
||||||
|
page : "صفحه"
|
||||||
|
pagination_previous : "قبل"
|
||||||
|
pagination_next : "بعد"
|
||||||
|
breadcrumb_home_label : "الرئيس"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
menu_label : "الخيارات"
|
||||||
|
search_label : "البحث"
|
||||||
|
toc_label : "على هذه الصفحة"
|
||||||
|
ext_link_label : "رابط مباشر"
|
||||||
|
less_than : "اقل من"
|
||||||
|
minute_read : "دقيقة قرائية"
|
||||||
|
share_on_label : "مشاركة"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "العلامات الوصفية:"
|
||||||
|
categories_label : "الفئات:"
|
||||||
|
date_label : "تم التحديث:"
|
||||||
|
comments_label : "اترك تعليق"
|
||||||
|
comments_title : "التعليقات"
|
||||||
|
more_label : "اقرأ المزيد"
|
||||||
|
related_label : "قد يعجبك أيضا"
|
||||||
|
follow_label : "تابع:"
|
||||||
|
feed_label : "الاخبار - RSS"
|
||||||
|
powered_by : "تم تطوير بواسطة"
|
||||||
|
website_label : "موقع"
|
||||||
|
email_label : "ايميل"
|
||||||
|
recent_posts : "المشاركات الأخيرة"
|
||||||
|
undefined_wpm : "معامل غير معرف في words_per_minute (كلمة في الدقيقة) في ملف _config.yml"
|
||||||
|
comment_form_info : "لن يتم نشر عنوان بريدك الإلكتروني. الحقول المطلوبة إلزامية"
|
||||||
|
comment_form_comment_label : "تعليق"
|
||||||
|
comment_form_md_info : "لغة ال Markdown مدعومة."
|
||||||
|
comment_form_name_label : "الاسم"
|
||||||
|
comment_form_email_label : "البريد الالكتروني"
|
||||||
|
comment_form_website_label : "الموقع (اختياري)"
|
||||||
|
comment_btn_submit : "أضف تعليق"
|
||||||
|
comment_btn_submitted : "تم الإرسال"
|
||||||
|
comment_success_msg : "شكراً على التعليق! سيتم اظهاره عندما يتم موافقة عليه."
|
||||||
|
comment_error_msg : "للأسف, هناك خطأ في المحاولة. الرجاء الحرص على تعبئة جميع الخانات و محاولة مجدداً."
|
||||||
|
loading_label : "جاري التحميل..."
|
||||||
|
search_label_text : "اكتب مصطلح للبحث..."
|
||||||
|
search_placeholder_text : "اكتب مصطلح للبحث..."
|
||||||
|
search_algolia_no_results : "لا توجد نتائج"
|
||||||
|
results_found : "تم إيجاد نتيجة"
|
||||||
|
back_to_top : "الانتقال الى الأعلى"
|
||||||
|
ar-SD:
|
||||||
|
<<: *DEFAULT_AR
|
||||||
|
ar-SA:
|
||||||
|
<<: *DEFAULT_AR
|
||||||
|
ar-AE:
|
||||||
|
<<: *DEFAULT_AR
|
||||||
|
ar-EG:
|
||||||
|
<<: *DEFAULT_AR
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
var commentContainer = document.querySelector('#giscus-comments');
|
||||||
|
|
||||||
|
if (!commentContainer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var script = document.createElement('script');
|
||||||
|
script.setAttribute('src', 'https://giscus.app/client.js');
|
||||||
|
script.setAttribute('data-repo', '{{ site.repository | downcase }}');
|
||||||
|
script.setAttribute('data-repo-id', '{{ site.comments.giscus.repo_id }}');
|
||||||
|
script.setAttribute('data-category', '{{ site.comments.giscus.category_name }}');
|
||||||
|
script.setAttribute('data-category-id', '{{ site.comments.giscus.category_id }}');
|
||||||
|
script.setAttribute('data-mapping', '{{ site.comments.giscus.discussion_term | default: "pathname" }}');
|
||||||
|
script.setAttribute('data-reactions-enabled', '{{ site.comments.giscus.reactions_enabled | default: 1 }}');
|
||||||
|
script.setAttribute('data-theme', '{{ site.comments.giscus.theme | default: "light" }}');
|
||||||
|
script.setAttribute('crossorigin', 'anonymous');
|
||||||
|
|
||||||
|
commentContainer.appendChild(script);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
@@ -12,6 +12,8 @@
|
|||||||
{% include /comments-providers/staticman_v2.html %}
|
{% include /comments-providers/staticman_v2.html %}
|
||||||
{% when "utterances" %}
|
{% when "utterances" %}
|
||||||
{% include /comments-providers/utterances.html %}
|
{% include /comments-providers/utterances.html %}
|
||||||
|
{% when "giscus" %}
|
||||||
|
{% include /comments-providers/giscus.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /comments-providers/custom_scripts.html %}
|
{% include /comments-providers/custom_scripts.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<div class="page__comments-form">
|
<div class="page__comments-form">
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.comments.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.comments.staticman.branch }}/comments">
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.comments.staticman.endpoint }}{{ site.repository }}/{{ site.comments.staticman.branch }}/comments">
|
||||||
<div class="form__spinner">
|
<div class="form__spinner">
|
||||||
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
||||||
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
||||||
@@ -153,6 +153,9 @@
|
|||||||
{% when "utterances" %}
|
{% when "utterances" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section id="utterances-comments"></section>
|
<section id="utterances-comments"></section>
|
||||||
|
{% when "giscus" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section id="giscus-comments"></section>
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /comments-providers/custom.html %}
|
{% include /comments-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
+3
-17
@@ -15,25 +15,11 @@
|
|||||||
|
|
||||||
<!-- For all browsers -->
|
<!-- For all browsers -->
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
|
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||||
|
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css"></noscript>
|
||||||
<!--[if IE]>
|
|
||||||
<style>
|
|
||||||
/* old IE unsupported flexbox fixes */
|
|
||||||
.greedy-nav .site-title {
|
|
||||||
padding-right: 3em;
|
|
||||||
}
|
|
||||||
.greedy-nav button {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
{% if site.head_scripts %}
|
{% if site.head_scripts %}
|
||||||
{% for script in site.head_scripts %}
|
{% for script in site.head_scripts %}
|
||||||
<script src="{{ script | relative_url }}"></script>
|
<script src="{{ script | relative_url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="masthead__menu">
|
<div class="masthead__menu">
|
||||||
<nav id="site-nav" class="greedy-nav">
|
<nav id="site-nav" class="greedy-nav">
|
||||||
{% unless logo_path == empty %}
|
{% unless logo_path == empty %}
|
||||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<a class="site-title" href="{{ '/' | relative_url }}">
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||||
{{ site.masthead_title | default: site.title }}
|
{{ site.masthead_title | default: site.title }}
|
||||||
@@ -21,9 +21,7 @@
|
|||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<button class="search__toggle" type="button">
|
<button class="search__toggle" type="button">
|
||||||
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
|
||||||
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
|
<i class="fas fa-search"></i>
|
||||||
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
|
|
||||||
</svg>
|
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="greedy-nav__toggle hidden" type="button">
|
<button class="greedy-nav__toggle hidden" type="button">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
{% if page.last_modified_at %}
|
{% if page.last_modified_at %}
|
||||||
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %-d, %Y" }}</time></p>
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: date_format }}</time></p>
|
||||||
{% elsif page.date %}
|
{% elsif page.date %}
|
||||||
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time></p>
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
{% assign date = document.date %}
|
{% assign date = document.date %}
|
||||||
<span class="page__meta-date">
|
<span class="page__meta-date">
|
||||||
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
|
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
|
||||||
<time datetime="{{ date | date_to_xmlschema }}">{{ date | date: "%B %-d, %Y" }}</time>
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
<time datetime="{{ date | date_to_xmlschema }}">{{ date | date: date_format }}</time>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -152,4 +152,7 @@
|
|||||||
{% if site.naver_site_verification %}
|
{% if site.naver_site_verification %}
|
||||||
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.baidu_site_verification %}
|
||||||
|
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
|
||||||
|
{% endif %}
|
||||||
<!-- end _includes/seo.html -->
|
<!-- end _includes/seo.html -->
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<nav class="skip-links">
|
<nav class="skip-links">
|
||||||
<h2 class="screen-reader-text">{{ site.data.ui-text[site.locale].skip_links | default: 'Skip links' }}</h2>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#site-nav" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
<li><a href="#site-nav" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
||||||
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.22.0 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
|
||||||
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
|
|||||||
@@ -25,11 +25,11 @@ layout: default
|
|||||||
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
{%- case search_provider -%}
|
{%- case search_provider -%}
|
||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="search" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
<div id="results" class="results"></div>
|
<div id="results" class="results"></div>
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
||||||
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="cse-search-input-box-id" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
</form>
|
</form>
|
||||||
<div id="results" class="results">
|
<div id="results" class="results">
|
||||||
<gcse:searchresults-only></gcse:searchresults-only>
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.22.0 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
|
||||||
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -357,37 +357,3 @@ select:focus {
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Google search form
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
#goog-fixurl {
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
margin-left: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-qt {
|
|
||||||
width: auto;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding: 8px 20px;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
background-color: #fff;
|
|
||||||
color: #000;
|
|
||||||
border-width: 2px !important;
|
|
||||||
border-style: solid !important;
|
|
||||||
border-color: $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-sb {
|
|
||||||
@extend .btn;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
@mixin notice($notice-color) {
|
@mixin notice($notice-color) {
|
||||||
margin: 2em 0 !important; /* override*/
|
margin: 2em 0 !important; /* override*/
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
color: $dark-gray;
|
color: $text-color;
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: $type-size-6 !important;
|
font-size: $type-size-6 !important;
|
||||||
text-indent: initial; /* override*/
|
text-indent: initial; /* override*/
|
||||||
background-color: mix(#fff, $notice-color, 90%);
|
background-color: mix($background-color, $notice-color, $notice-background-mix);
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
||||||
|
|
||||||
@@ -46,15 +46,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $notice-color;
|
color: mix(#000, $notice-color, 10%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: mix(#000, $notice-color, 40%);
|
color: mix(#000, $notice-color, 50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background-color: mix(#fff, $notice-color, 95%)
|
background-color: mix($background-color, $notice-color, $code-notice-background-mix)
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
|
|||||||
@@ -118,6 +118,10 @@ $masthead-link-color: $primary-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
|
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
|
||||||
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
|
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 80% !default;
|
||||||
|
$code-notice-background-mix: 90% !default;
|
||||||
|
|
||||||
/* syntax highlighting (base16) */
|
/* syntax highlighting (base16) */
|
||||||
$base00: #263238 !default;
|
$base00: #263238 !default;
|
||||||
$base01: #2e3c43 !default;
|
$base01: #2e3c43 !default;
|
||||||
|
|||||||
@@ -27,4 +27,8 @@ $link-color : $info-color !default;
|
|||||||
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
$masthead-link-color : $primary-color !default;
|
$masthead-link-color : $primary-color !default;
|
||||||
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 90% !default;
|
||||||
|
$code-notice-background-mix: 95% !default;
|
||||||
|
|||||||
@@ -27,4 +27,4 @@ $navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
|||||||
|
|
||||||
.ais-search-box .ais-search-box--input {
|
.ais-search-box .ais-search-box--input {
|
||||||
background-color: $form-background-color;
|
background-color: $form-background-color;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 90% !default;
|
||||||
|
$code-notice-background-mix: 95% !default;
|
||||||
|
|
||||||
/* neon syntax highlighting (base16) */
|
/* neon syntax highlighting (base16) */
|
||||||
$base00: #ffffff !default;
|
$base00: #ffffff !default;
|
||||||
$base01: #e0e0e0 !default;
|
$base01: #e0e0e0 !default;
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 70% !default;
|
||||||
|
$code-notice-background-mix: 80% !default;
|
||||||
|
|
||||||
/* plum syntax highlighting (base16) */
|
/* plum syntax highlighting (base16) */
|
||||||
$base00: #ffffff !default;
|
$base00: #ffffff !default;
|
||||||
$base01: #e0e0e0 !default;
|
$base01: #e0e0e0 !default;
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 75% !default;
|
||||||
|
|
||||||
/* sunrise syntax highlighting (base16) */
|
/* sunrise syntax highlighting (base16) */
|
||||||
$base00: #1d1f21 !default;
|
$base00: #1d1f21 !default;
|
||||||
$base01: #282a2e !default;
|
$base01: #282a2e !default;
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+4
-3
@@ -14,11 +14,11 @@ $(function() {
|
|||||||
var $logoImg = $('nav.greedy-nav .site-logo img');
|
var $logoImg = $('nav.greedy-nav .site-logo img');
|
||||||
var $title = $("nav.greedy-nav .site-title");
|
var $title = $("nav.greedy-nav .site-title");
|
||||||
var $search = $('nav.greedy-nav button.search__toggle');
|
var $search = $('nav.greedy-nav button.search__toggle');
|
||||||
|
|
||||||
var numOfItems, totalSpace, closingTime, breakWidths;
|
var numOfItems, totalSpace, closingTime, breakWidths;
|
||||||
|
|
||||||
// This function measures both hidden and visible links and sets the navbar breakpoints
|
// This function measures both hidden and visible links and sets the navbar breakpoints
|
||||||
// This is called the first time the script runs and everytime the "check()" function detects a change of window width that reached a different CSS width breakpoint, which affects the size of navbar Items
|
// This is called the first time the script runs and everytime the "check()" function detects a change of window width that reached a different CSS width breakpoint, which affects the size of navbar Items
|
||||||
// Please note that "CSS width breakpoints" (which are only 4) !== "navbar breakpoints" (which are as many as the number of items on the navbar)
|
// Please note that "CSS width breakpoints" (which are only 4) !== "navbar breakpoints" (which are as many as the number of items on the navbar)
|
||||||
function measureLinks(){
|
function measureLinks(){
|
||||||
numOfItems = 0;
|
numOfItems = 0;
|
||||||
@@ -99,6 +99,7 @@ $(function() {
|
|||||||
|
|
||||||
$btn.on('click', function() {
|
$btn.on('click', function() {
|
||||||
$hlinks.toggleClass('hidden');
|
$hlinks.toggleClass('hidden');
|
||||||
|
$(this).toggleClass('close');
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -122,5 +123,5 @@ $(function() {
|
|||||||
} else check();
|
} else check();
|
||||||
// if page does not have a logo just check
|
// if page does not have a logo just check
|
||||||
} else check();
|
} else check();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
+9
-2
@@ -5,7 +5,7 @@
|
|||||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
remote_theme : "mmistakes/minimal-mistakes@4.22.0"
|
remote_theme : "mmistakes/minimal-mistakes@4.23.0"
|
||||||
|
|
||||||
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ masthead_title : # overrides the website title displayed in the masthe
|
|||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
comments:
|
comments:
|
||||||
provider : "false" # false (default), "disqus", "discourse", "facebook", "staticman_v2", "staticman", "utterances", "custom"
|
provider : "false" # false (default), "disqus", "discourse", "facebook", "staticman_v2", "staticman", "utterances", "giscus", "custom"
|
||||||
disqus:
|
disqus:
|
||||||
shortname :
|
shortname :
|
||||||
discourse:
|
discourse:
|
||||||
@@ -38,6 +38,13 @@ comments:
|
|||||||
utterances:
|
utterances:
|
||||||
theme : # "github-light" (default), "github-dark"
|
theme : # "github-light" (default), "github-dark"
|
||||||
issue_term : # "pathname" (default)
|
issue_term : # "pathname" (default)
|
||||||
|
giscus:
|
||||||
|
repo_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
category_name : # Full text name of the category
|
||||||
|
category_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
discussion_term : # "pathname" (default), "url", "title", "og:title"
|
||||||
|
reactions_enabled : # '1' for enabled (default), '0' for disabled
|
||||||
|
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
|
||||||
reCaptcha:
|
reCaptcha:
|
||||||
siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q"
|
siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q"
|
||||||
secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4="
|
secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4="
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
title: "Quick-Start Guide"
|
title: "Quick-Start Guide"
|
||||||
permalink: /docs/quick-start-guide/
|
permalink: /docs/quick-start-guide/
|
||||||
excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages."
|
excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages."
|
||||||
last_modified_at: 2020-07-27
|
last_modified_at: 2021-06-07T08:48:05-04:00
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- /theme-setup/
|
- /theme-setup/
|
||||||
toc: true
|
toc: true
|
||||||
@@ -10,9 +10,12 @@ toc: true
|
|||||||
|
|
||||||
Minimal Mistakes has been developed as a [Gem-based theme](http://jekyllrb.com/docs/themes/) for easier use, and 100% compatible with GitHub Pages when used as a remote theme.
|
Minimal Mistakes has been developed as a [Gem-based theme](http://jekyllrb.com/docs/themes/) for easier use, and 100% compatible with GitHub Pages when used as a remote theme.
|
||||||
|
|
||||||
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) for developing and maintaining it.**
|
**If you enjoy this theme, please consider [sponsoring me](https://github.com/sponsors/mmistakes) to continue developing and maintaining it.**
|
||||||
|
|
||||||
|
<script type='text/javascript' src='https://storage.ko-fi.com/cdn/widget/Widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#29abe0', 'P5P14VMO6');kofiwidget2.draw();</script>
|
||||||
|
|
||||||
[](https://www.paypal.me/mmistakes)
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
{: style="margin-top: 0.5em;"}
|
||||||
|
|
||||||
## Installing the theme
|
## Installing the theme
|
||||||
|
|
||||||
@@ -75,7 +78,7 @@ To install as a remote theme:
|
|||||||
bundle
|
bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.22.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used.
|
You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used.
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ last_modified_at: 2018-03-20T15:19:22-04:00
|
|||||||
|
|
||||||
Nothing clever here :wink:. Layouts, data files, and includes are all placed in their default locations. Stylesheets and scripts in `assets`, and a few development related files in the project's root directory.
|
Nothing clever here :wink:. Layouts, data files, and includes are all placed in their default locations. Stylesheets and scripts in `assets`, and a few development related files in the project's root directory.
|
||||||
|
|
||||||
**Please note:** If you installed Minimal Mistakes via the Ruby Gem method, theme files like `_layouts`, `_includes`, `_sass`, and `/assets/` will be missing. This is normal as they are bundled with the [`minimal-mistakes-jekyll`](https://rubygems.org/gems/minimal-mistakes-jekyll) Ruby gem.
|
**Please note:** If you installed Minimal Mistakes via the Ruby Gem method, theme files like `_layouts`, `_includes`, `_sass`, and `/assets/` will be missing. This is normal as they are bundled with the [`minimal-mistakes-jekyll`](https://rubygems.org/gems/minimal-mistakes-jekyll) Ruby gem. If you would like to make changes, create the files and Jekyll will prefer your local copy.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -18,8 +18,10 @@ minimal-mistakes
|
|||||||
├── _includes
|
├── _includes
|
||||||
| ├── analytics-providers # snippets for analytics (Google and custom)
|
| ├── analytics-providers # snippets for analytics (Google and custom)
|
||||||
| ├── comments-providers # snippets for comments
|
| ├── comments-providers # snippets for comments
|
||||||
| ├── footer # custom snippets to add to site footer
|
| ├── footer
|
||||||
| ├── head # custom snippets to add to site head
|
| | └── custom.html # custom snippets to add to site footer
|
||||||
|
| ├── head
|
||||||
|
| | └── custom.html # custom snippets to add to site head
|
||||||
| ├── feature_row # feature row helper
|
| ├── feature_row # feature row helper
|
||||||
| ├── gallery # image gallery helper
|
| ├── gallery # image gallery helper
|
||||||
| ├── group-by-array # group by array helper for archives
|
| ├── group-by-array # group by array helper for archives
|
||||||
|
|||||||
@@ -2,17 +2,17 @@
|
|||||||
title: "Upgrading"
|
title: "Upgrading"
|
||||||
permalink: /docs/upgrading/
|
permalink: /docs/upgrading/
|
||||||
excerpt: "Instructions and suggestions for upgrading the theme."
|
excerpt: "Instructions and suggestions for upgrading the theme."
|
||||||
last_modified_at: 2018-11-25T19:38:20-05:00
|
last_modified_at: 2021-06-23T08:15:34-04:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
If you're using the [Ruby Gem]({{ "/docs/quick-start-guide/#ruby-gem-method" | relative_url }}) or [remote theme]({{ "/docs/quick-start-guide/#github-pages-method" | relative_url }}) versions of Minimal Mistakes, upgrading is fairly painless.
|
If you're using the [Ruby Gem]({{ "/docs/quick-start-guide/#gem-based-method" | relative_url }}) or [remote theme]({{ "/docs/quick-start-guide/#remote-theme-method" | relative_url }}) versions of Minimal Mistakes, upgrading is fairly painless.
|
||||||
|
|
||||||
To check which version you are currently using, view the source of your built site and you should see something similar to:
|
To check which version you are currently using, view the source of your built site and you should see something similar to:
|
||||||
|
|
||||||
```
|
```
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.22.0 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
|
||||||
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
@@ -28,14 +28,14 @@ Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem up
|
|||||||
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:
|
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.22.0"
|
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.24.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
|
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
|
||||||
|
|
||||||
## Remote theme
|
## Remote theme
|
||||||
|
|
||||||
When setting `remote_theme: "mmistakes/minimal-mistakes@4.22.0"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
|
When setting `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
|
||||||
|
|
||||||
For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases).
|
For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases).
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
title: "Configuration"
|
title: "Configuration"
|
||||||
permalink: /docs/configuration/
|
permalink: /docs/configuration/
|
||||||
excerpt: "Settings for configuring and customizing the theme."
|
excerpt: "Settings for configuring and customizing the theme."
|
||||||
last_modified_at: 2020-08-04T11:26:21-04:00
|
last_modified_at: 2021-05-11T10:40:42-04:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -131,7 +131,7 @@ You also have the option of customizing the separation character used in SEO-fri
|
|||||||
|
|
||||||
_Example:_ `title_separator: "|"` would produce page titles like `Sample Page | My Awesome Site`.
|
_Example:_ `title_separator: "|"` would produce page titles like `Sample Page | My Awesome Site`.
|
||||||
|
|
||||||
**Note:** Long site titles have been known to break the masthead layout. Avoid adding a long "tagline" to the title prevent this from happening eg. `My Awesome Site is the Best Because I Say So".
|
**Note:** Long site titles have been known to break the masthead layout. Avoid adding a long "tagline" to the title prevent this from happening eg. `My Awesome Site is the Best Because I Say So`.
|
||||||
{: .notice--warning}
|
{: .notice--warning}
|
||||||
|
|
||||||
### Site subtitle
|
### Site subtitle
|
||||||
@@ -161,7 +161,7 @@ The base hostname and protocol for your site. If you're hosting with GitHub Page
|
|||||||
|
|
||||||
GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings.
|
GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings.
|
||||||
|
|
||||||
**Note:** Jekyll 3.3 overrides this value with `url: http://localhost:4000` when running `jekyll serve` locally in development. If you want to avoid this behavior set `JEKYLL_ENV=production` to [force the environment](http://jekyllrb.com/docs/configuration/#specifying-a-jekyll-environment-at-build-time) to production.
|
**Note:** Jekyll 3.3 overrides this value with `url: http://localhost:4000` when running `jekyll serve` locally in development. If you want to avoid this behavior set `JEKYLL_ENV=production` to [force the environment](https://jekyllrb.com/docs/configuration/environments/) to production.
|
||||||
{: .notice--warning}
|
{: .notice--warning}
|
||||||
|
|
||||||
### Site base URL
|
### Site base URL
|
||||||
@@ -285,6 +285,12 @@ defaults:
|
|||||||
|
|
||||||
To disable post date for a post, add `show_date: false` to its YAML Front Matter, overriding what was set in `_config.yml`.
|
To disable post date for a post, add `show_date: false` to its YAML Front Matter, overriding what was set in `_config.yml`.
|
||||||
|
|
||||||
|
When dates are shown on blog posts or pages, a date format will be chosen to format the date string. The default format is `"%B %-d, %Y"`, which will be displayed like "February 24, 2016". You can choose your date format by referencing this [cheat sheet](https://www.shortcutfoo.com/app/dojos/ruby-date-format-strftime/cheatsheet). For example, use your date format in `_config.yml`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
date_format: "%Y-%m-%d"
|
||||||
|
```
|
||||||
|
|
||||||
### Reading time
|
### Reading time
|
||||||
|
|
||||||
Enable estimated reading time snippets with `read_time: true` in YAML Front Matter. `200` has been set as the default words per minute value --- which can be changed by adjusting `words_per_minute:` in `_config.yml`.
|
Enable estimated reading time snippets with `read_time: true` in YAML Front Matter. `200` has been set as the default words per minute value --- which can be changed by adjusting `words_per_minute:` in `_config.yml`.
|
||||||
@@ -327,16 +333,17 @@ For example,
|
|||||||
|
|
||||||
### Comments
|
### Comments
|
||||||
|
|
||||||
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), [**utterances**](https://utteranc.es/), and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
|
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), [**utterances**](https://utteranc.es/), [**giscus**](https://giscus.app/) and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
|
||||||
|
|
||||||
| Name | Comment Provider |
|
| Name | Comment Provider |
|
||||||
| ---------------- | ------------------------- |
|
| ---------------- | ------------------------- |
|
||||||
| **disqus** | Disqus |
|
| **disqus** | Disqus |
|
||||||
| **discourse** | Discourse |
|
| **discourse** | Discourse |
|
||||||
| **facebook** | Facebook Comments |
|
| **facebook** | Facebook Comments |
|
||||||
| **staticman_v2** | Staticman v2 |
|
| **staticman_v2** | Staticman v2 / v3 |
|
||||||
| **staticman** | Staticman v1 (deprecated) |
|
| **staticman** | Staticman v1 (deprecated) |
|
||||||
| **utterances** | utterances |
|
| **utterances** | utterances |
|
||||||
|
| **giscus** | giscus |
|
||||||
| **custom** | Other |
|
| **custom** | Other |
|
||||||
|
|
||||||
Then add `comments: true` to each document you want comments visible on.
|
Then add `comments: true` to each document you want comments visible on.
|
||||||
@@ -418,6 +425,35 @@ comments:
|
|||||||
issue_term: "pathname"
|
issue_term: "pathname"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### giscus comments
|
||||||
|
|
||||||
|
To use giscus you will need to [install the app](https://github.com/apps/giscus) to your GitHub repository.
|
||||||
|
|
||||||
|
The next step is to go to <https://giscus.app> and fill out the desired settings. This will generate JavaScript that will provide you with the settings you will need to configure things below.
|
||||||
|
|
||||||
|
You'll need to ensure you've added the following to `_config.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
repository: # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** Make sure the repo is public, otherwise your readers will not be able to view the issues/comments. The [discussions feature](https://docs.github.com/en/discussions) also needs to be active on your repo.
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
To enable giscus on the front end set `comments.provider` and the other additional options.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
comments:
|
||||||
|
provider: "giscus"
|
||||||
|
giscus:
|
||||||
|
repo_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
category_name : # Full text name of the category
|
||||||
|
category_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
discussion_term : # "pathname" (default), "url", "title", "og:title"
|
||||||
|
reactions_enabled : # '1' for enabled (default), '0' for disabled
|
||||||
|
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
|
||||||
|
```
|
||||||
|
|
||||||
#### Static-based comments via Staticman
|
#### Static-based comments via Staticman
|
||||||
|
|
||||||
Transform user comments into `_data` files that live inside of your GitHub repository by enabling Staticman.
|
Transform user comments into `_data` files that live inside of your GitHub repository by enabling Staticman.
|
||||||
@@ -425,13 +461,16 @@ Transform user comments into `_data` files that live inside of your GitHub repos
|
|||||||
**Note:** Looking to migrate comments from a WordPress based site? Give [this tool](https://github.com/arthurlacoste/wordpress-comments-jekyll-staticman) a try.
|
**Note:** Looking to migrate comments from a WordPress based site? Give [this tool](https://github.com/arthurlacoste/wordpress-comments-jekyll-staticman) a try.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
|
|
||||||
**Note:** Please note that as of September 2018, Staticman is reaching GitHub API limits due to its popularity, and it is recommended by its maintainer that users deploy their own instances for production (use `site.staticman.endpoint`).
|
**Note:** Please note that as of September 2018, Staticman is reaching GitHub API limits due to its popularity, and it is recommended by its maintainer that users deploy their own instances for production (use `site.staticman.endpoint`). Consult the Staticman "[Get Started](https://staticman.net/docs/index.html)" guide for more info.
|
||||||
{: .notice--warning}
|
{: .notice--warning}
|
||||||
|
|
||||||
##### Add Staticman as a collaborator
|
##### Add Staticman as a collaborator on GitHub (legacy)
|
||||||
|
|
||||||
1. Allow Staticman push access to your GitHub repository by clicking on **Settings**, then the **Collaborators** tab and adding `staticmanapp` as a collaborator.
|
1. Allow Staticman push access to your GitHub repository by clicking on **Settings**, then the **Collaborators** tab and adding your GitHub bot as a collaborator.
|
||||||
2. To accept the pending invitation visit: `https://api.staticman.net/v2/connect/{your GitHub username}/{your repository name}`. Consult the Staticman "[Get Started](https://staticman.net/docs/index.html)" guide for more info.
|
2. To accept the pending invitation visit: `https://{your Staticman v2/3 API}/v[2|3]/connect/{your GitHub username}/{your repository name}`.
|
||||||
|
|
||||||
|
**Note:** The new GitHub App authentication method is recommended for GitHub repositories to avoid the API rate limit.
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
##### Configure Staticman
|
##### Configure Staticman
|
||||||
|
|
||||||
@@ -524,7 +563,7 @@ By default comment moderation is enabled in `staticman.yml`. As new comments are
|
|||||||
|
|
||||||
To skip this moderation step simply set `moderation: false`.
|
To skip this moderation step simply set `moderation: false`.
|
||||||
|
|
||||||
**ProTip:** Create a GitHub webhook that sends a `POST` request to the following payload URL `https://api.staticman.net/v2/webhook` and triggers a "Pull request" event to delete Staticman branches on merge.
|
**ProTip:** Create a GitHub webhook that sends a `POST` request to the following payload URL `https://{your Staticman API URL}/v2/webhook` and triggers a "Pull request" event to delete Staticman branches on merge.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
|
|
||||||

|

|
||||||
@@ -715,6 +754,22 @@ Into `_config.yml`
|
|||||||
yandex_site_verification: "2132801JL"
|
yandex_site_verification: "2132801JL"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Baidu
|
||||||
|
|
||||||
|
There are several ways to verify site ownership — the easiest is adding an authentication code to your config file.
|
||||||
|
|
||||||
|
Copy and paste the string inside of `content`:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<meta name="baidu-site-verification" content="code-iA0wScWXN1" />
|
||||||
|
```
|
||||||
|
|
||||||
|
Into `_config.yml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
baidu_site_verification: "code-iA0wScWXN1"
|
||||||
|
```
|
||||||
|
|
||||||
#### Twitter Cards and Facebook Open Graph
|
#### Twitter Cards and Facebook Open Graph
|
||||||
|
|
||||||
To improve the appearance of links shared from your site to social networks like Twitter and Facebook be sure to configure the following.
|
To improve the appearance of links shared from your site to social networks like Twitter and Facebook be sure to configure the following.
|
||||||
|
|||||||
@@ -2,13 +2,14 @@
|
|||||||
title: "UI Text"
|
title: "UI Text"
|
||||||
permalink: /docs/ui-text/
|
permalink: /docs/ui-text/
|
||||||
excerpt: "Text for customizing user interface elements found in the theme."
|
excerpt: "Text for customizing user interface elements found in the theme."
|
||||||
last_modified_at: 2021-02-05T20:54:24-05:00
|
last_modified_at: 2021-05-11T10:22:55-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
|
Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
|
||||||
|
|
||||||
The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) are translated in the following languages:
|
The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) are translated in the following languages:
|
||||||
|
|
||||||
|
- Arabic (عربي)
|
||||||
- Brazilian Portuguese (Português brasileiro)
|
- Brazilian Portuguese (Português brasileiro)
|
||||||
- Catalan
|
- Catalan
|
||||||
- Chinese
|
- Chinese
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ Auto-generated table of contents list for your posts and pages can be enabled by
|
|||||||
| **toc** | Optional | Show table of contents. (boolean) | `false` |
|
| **toc** | Optional | Show table of contents. (boolean) | `false` |
|
||||||
| **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. |
|
| **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. |
|
||||||
| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) <i class="fas fa-file-alt"></i> **file-alt** icon. Other FA icons can be used instead. |
|
| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) <i class="fas fa-file-alt"></i> **file-alt** icon. Other FA icons can be used instead. |
|
||||||
| **toc_sticky** | Optional | Stick table of contents to top of screen. | `false` |
|
| **toc_sticky** | Optional | Stick table of contents to top of screen. | `false` |
|
||||||
|
|
||||||
**TOC example with custom title and icon**
|
**TOC example with custom title and icon**
|
||||||
|
|
||||||
@@ -141,6 +141,31 @@ toc_icon: "cog"
|
|||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{% capture notice-text %}
|
||||||
|
**Note:** You need to use contiguous levels of headings for the TOC to generate properly. For example:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Good headings:
|
||||||
|
|
||||||
|
# Heading
|
||||||
|
## Heading
|
||||||
|
### Heading
|
||||||
|
### Heading
|
||||||
|
# Heading
|
||||||
|
## Heading
|
||||||
|
|
||||||
|
Bad headings:
|
||||||
|
|
||||||
|
# Heading
|
||||||
|
### Heading (skipped H2)
|
||||||
|
##### Heading (skipped H4)
|
||||||
|
```
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
<div class="notice--warning">
|
||||||
|
{{ notice-text | markdownify }}
|
||||||
|
</div>
|
||||||
|
|
||||||
## Archive layout
|
## Archive layout
|
||||||
|
|
||||||
Essentially the same as `single` with markup adjustments and some modules removed.
|
Essentially the same as `single` with markup adjustments and some modules removed.
|
||||||
@@ -338,7 +363,7 @@ Then adjust the `paginate_path` in **_config.yml** to match.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
paginate_path: /blog/page:num
|
paginate_path: /blog/page:num
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** Jekyll can only paginate a single `index.html` file. If you'd like to paginate more pages (e.g. category indexes) you'll need the help of a custom plugin. For more pagination related settings check the [**Configuration**]({{ "/docs/configuration/#paginate" | relative_url }}) section.
|
**Note:** Jekyll can only paginate a single `index.html` file. If you'd like to paginate more pages (e.g. category indexes) you'll need the help of a custom plugin. For more pagination related settings check the [**Configuration**]({{ "/docs/configuration/#paginate" | relative_url }}) section.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
@@ -602,7 +627,7 @@ For example, to color a Reddit icon, simply add a `color` declaration and the co
|
|||||||
color: #ff4500;
|
color: #ff4500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -652,7 +677,7 @@ To start, add a new key to `_data/navigation.yml`. This will be referenced later
|
|||||||
|
|
||||||
**Sample sidebar menu links:**
|
**Sample sidebar menu links:**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
docs:
|
docs:
|
||||||
- title: Getting Started
|
- title: Getting Started
|
||||||
children:
|
children:
|
||||||
@@ -773,3 +798,49 @@ Add the new `.btn--reddit` class to the `<a>` element from earlier, [compile `ma
|
|||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Custom head and footer
|
||||||
|
|
||||||
|
The `default` layout includes a number of custom templates, which provide ways for you to directly add content to all your pages.
|
||||||
|
|
||||||
|
### Head
|
||||||
|
|
||||||
|
`_includes/head/custom.html` is included at the end of the `<head>` tag. An example use of this include is to add custom CSS per page:
|
||||||
|
|
||||||
|
Add some Liquid tags for the new configuration to `_includes/head/custom.html`.
|
||||||
|
{% raw %}```html
|
||||||
|
{% if page.page_css %}
|
||||||
|
{% for stylesheet in page.page_css %}
|
||||||
|
<link rel="stylesheet" href="{{ stylesheet | relative_url }}">
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
```{% endraw %}
|
||||||
|
|
||||||
|
Next, add `page_css` to any page's YAML Front Matter to have your CSS loaded for that page.
|
||||||
|
```yaml
|
||||||
|
page_css:
|
||||||
|
- /path/to/your/custom.css
|
||||||
|
```
|
||||||
|
|
||||||
|
### Footer
|
||||||
|
|
||||||
|
`_includes/footer/custom.html` is included at the beginning of the `<footer>` tag. An example use of this include is to add custom JavaScript per page:
|
||||||
|
|
||||||
|
Add some Liquid tags for the new configuration to `_includes/footer/custom.html`.
|
||||||
|
{% raw %}```html
|
||||||
|
{% if page.page_js %}
|
||||||
|
{% for script in page.page_js %}
|
||||||
|
<script src="{{ script | relative_url }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
```{% endraw %}
|
||||||
|
|
||||||
|
Next, add `page_js` to any page's YAML Front Matter to have your CSS loaded for that page.
|
||||||
|
```yaml
|
||||||
|
page_js:
|
||||||
|
- /path/to/your/custom.css
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ To add a feature row containing three content blocks with text and image, add th
|
|||||||
| Name | Required | Description | Default |
|
| Name | Required | Description | Default |
|
||||||
| ----------------- | ------------ | ---------------------------------------------------------------------------------------------------- | ---------------------------------- |
|
| ----------------- | ------------ | ---------------------------------------------------------------------------------------------------- | ---------------------------------- |
|
||||||
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
|
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
|
||||||
| **image_caption** | Optional | Caption for image, Markdown is supported eg: `"Image from [Unsplash](https://unsplash.com)" |
|
| **image_caption** | Optional | Caption for image, Markdown is supported eg: `"Image from [Unsplash](https://unsplash.com)"` |
|
||||||
| **alt** | Optional | Alternate text for image. | |
|
| **alt** | Optional | Alternate text for image. | |
|
||||||
| **title** | Optional | Content block title. | |
|
| **title** | Optional | Content block title. | |
|
||||||
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
|
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
|
||||||
@@ -295,6 +295,31 @@ toc_icon: "cog"
|
|||||||
**Note:** using both methods will have unintended results. Be sure to remove `{% raw %}{% include toc %}{% endraw %}` placed table of contents from your content when using `toc: true`.
|
**Note:** using both methods will have unintended results. Be sure to remove `{% raw %}{% include toc %}{% endraw %}` placed table of contents from your content when using `toc: true`.
|
||||||
{: .notice--warning }
|
{: .notice--warning }
|
||||||
|
|
||||||
|
{% capture notice-text %}
|
||||||
|
**Note:** You need to use contiguous levels of headings for the TOC to generate properly. For example:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
Good headings:
|
||||||
|
|
||||||
|
# Heading
|
||||||
|
## Heading
|
||||||
|
### Heading
|
||||||
|
### Heading
|
||||||
|
# Heading
|
||||||
|
## Heading
|
||||||
|
|
||||||
|
Bad headings:
|
||||||
|
|
||||||
|
# Heading
|
||||||
|
### Heading (skipped H2)
|
||||||
|
##### Heading (skipped H4)
|
||||||
|
```
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
<div class="notice--warning">
|
||||||
|
{{ notice-text | markdownify }}
|
||||||
|
</div>
|
||||||
|
|
||||||
### Enabled via `toc` include (deprecated)
|
### Enabled via `toc` include (deprecated)
|
||||||
|
|
||||||
To include a Kramdown [auto-generated table of contents](https://kramdown.gettalong.org/converter/html.html#toc) for posts and pages, add the following helper to your content.
|
To include a Kramdown [auto-generated table of contents](https://kramdown.gettalong.org/converter/html.html#toc) for posts and pages, add the following helper to your content.
|
||||||
|
|||||||
@@ -40,29 +40,29 @@ minimal-mistakes
|
|||||||
|
|
||||||
## Customizing
|
## Customizing
|
||||||
|
|
||||||
To override the default [Sass](http://sass-lang.com/guide) (located in theme's
|
To override the default [Sass](http://sass-lang.com/guide) (located in theme's
|
||||||
`_sass` directory), do one of the following:
|
`_sass` directory), do one of the following:
|
||||||
|
|
||||||
1. Copy directly from the Minimal Mistakes theme gem
|
1. Copy directly from the Minimal Mistakes theme gem
|
||||||
|
|
||||||
- Go to your local Minimal Mistakes gem installation directory (run
|
- Go to your local Minimal Mistakes gem installation directory (run
|
||||||
`bundle show minimal-mistakes-jekyll` to get the path to it).
|
`bundle show minimal-mistakes-jekyll` to get the path to it).
|
||||||
- Copy the contents of `/assets/css/main.scss` from there to
|
- Copy the contents of `/assets/css/main.scss` from there to
|
||||||
`<your_project>`.
|
`<your_project>`.
|
||||||
- Customize what you want inside `<your_project>/assets/css/main.scss`.
|
- Customize what you want inside `<your_project>/assets/css/main.scss`.
|
||||||
|
|
||||||
2. Copy from this repo.
|
2. Copy from this repo.
|
||||||
|
|
||||||
- Copy the contents of [assets/css/main.scss](https://github.com/mmistakes/minimal-mistakes/blob/master/assets/css/main.scss)
|
- Copy the contents of [assets/css/main.scss](https://github.com/mmistakes/minimal-mistakes/blob/master/assets/css/main.scss)
|
||||||
to `<your_project>`.
|
to `<your_project>`.
|
||||||
- Customize what you want inside `<your_project/assets/css/main.scss`.
|
- Customize what you want inside `<your_project/assets/css/main.scss`.
|
||||||
|
|
||||||
**Note:** To make more extensive changes and customize the Sass partials bundled
|
**Note:** To make more extensive changes and customize the Sass partials bundled
|
||||||
in the gem. You will need to copy the complete contents of the `_sass` directory
|
in the gem. You will need to copy the complete contents of the `_sass` directory
|
||||||
to `<your_project>` due to the way Jekyll currently reads those files.
|
to `<your_project>` due to the way Jekyll currently reads those files.
|
||||||
|
|
||||||
To make basic tweaks to theme's style Sass variables can be overridden by adding
|
To make basic tweaks to theme's style Sass variables can be overridden by adding
|
||||||
to `<your_project>/assets/css/main.scss`. For instance, to change the
|
to `<your_project>/assets/css/main.scss`. For instance, to change the
|
||||||
link color used throughout the theme add:
|
link color used throughout the theme add:
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
@@ -71,7 +71,7 @@ $link-color: red;
|
|||||||
|
|
||||||
Before any `@import` lines.
|
Before any `@import` lines.
|
||||||
|
|
||||||
### Paragraph indention
|
### Paragraph indention
|
||||||
|
|
||||||
To mimic the look of type set in a printed book or manuscript you may want to enable paragraph indention. When `$paragraph-indent` is set to `true` indents are added to each sibling and the margin below each paragraph is removed.
|
To mimic the look of type set in a printed book or manuscript you may want to enable paragraph indention. When `$paragraph-indent` is set to `true` indents are added to each sibling and the margin below each paragraph is removed.
|
||||||
|
|
||||||
@@ -120,7 +120,7 @@ $header-font-family : $sans-serif-narrow;
|
|||||||
|
|
||||||
### Type scale
|
### Type scale
|
||||||
|
|
||||||
Wherever possible type scale variables have been used instead of writing out fixed sizes. This makes updating much easier by changing values in one file.
|
Wherever possible type scale variables have been used instead of writing out fixed sizes. This makes updating much easier by changing values in one file.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@@ -370,7 +370,7 @@ $base0c: #8abeb7;
|
|||||||
$base0d: #81a2be;
|
$base0d: #81a2be;
|
||||||
$base0e: #b294bb;
|
$base0e: #b294bb;
|
||||||
$base0f: #a3685a;
|
$base0f: #a3685a;
|
||||||
```
|
```
|
||||||
|
|
||||||
### Breakpoints and grid stuff
|
### Breakpoints and grid stuff
|
||||||
|
|
||||||
|
|||||||
@@ -5,10 +5,47 @@ permalink: /docs/history/
|
|||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: 2021-02-05T20:53:06-05:00
|
last_modified_at: 2021-07-05T16:29:46-04:00
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [4.24.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.24.0)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix README text for Gumshoejs license. [#3024](https://github.com/mmistakes/minimal-mistakes/pull/3024)
|
||||||
|
- Remove `tabindex="-1"` from `input` elements in `search.html` layout to allow them to be accessible by keyboard. [#2982](https://github.com/mmistakes/minimal-mistakes/issues/2982)
|
||||||
|
- Fix broken sidebar image in sample post. [#3013](https://github.com/mmistakes/minimal-mistakes/issues/3013)
|
||||||
|
- Fix broken links in Upgrading documentation. [#3004](https://github.com/mmistakes/minimal-mistakes/issues/3004)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Remove IE9 flexbox fallback. [#3042](https://github.com/mmistakes/minimal-mistakes/pull/3042)
|
||||||
|
- Remove `h2` from skip links navigation as it is not important for site structure. [#3012](https://github.com/mmistakes/minimal-mistakes/pull/3012)
|
||||||
|
- Loads Font Awesome asynchronously. [#2967](https://github.com/mmistakes/minimal-mistakes/pull/2967)
|
||||||
|
- Replace custom search icon SVG with Font Awesome icon. [#2774](https://github.com/mmistakes/minimal-mistakes/pull/2774)
|
||||||
|
- Adds support for giscus comments. [#3022](https://github.com/mmistakes/minimal-mistakes/pull/3022)
|
||||||
|
|
||||||
|
## [4.23.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.23.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Arabic (عربي) localized UI text strings. [#2936](https://github.com/mmistakes/minimal-mistakes/pull/2936)
|
||||||
|
- Update onchange and uglify-js dependencies.
|
||||||
|
- Document head and footer `custom.html` includes. [#2815](https://github.com/mmistakes/minimal-mistakes/pull/2815)
|
||||||
|
- Color notices based on skin colors instead of fixed values. [#2887](https://github.com/mmistakes/minimal-mistakes/pull/2887)
|
||||||
|
- Add configurable datetime format. [#2844](https://github.com/mmistakes/minimal-mistakes/pull/2844)
|
||||||
|
- Add Baidu site verification [#2830](https://github.com/mmistakes/minimal-mistakes/pull/2830)
|
||||||
|
- Add `alt` attribute to site logo. [#2529](https://github.com/mmistakes/minimal-mistakes/issues/2529) [#2824](https://github.com/mmistakes/minimal-mistakes/issues/2824)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix menu toggle to properly show close icon when open.
|
||||||
|
- Fix Jekyll environment note in configuration documentation. [#2912](https://github.com/mmistakes/minimal-mistakes/issues/2912)
|
||||||
|
- Fix typo in Helpers documentation. [#2940](https://github.com/mmistakes/minimal-mistakes/pull/2940)
|
||||||
|
- Remove all references to official public Staticman API instance. [#2818](https://github.com/mmistakes/minimal-mistakes/issues/2818) [#2831](https://github.com/mmistakes/minimal-mistakes/pull/2831)
|
||||||
|
- Remove Google Search CSS. [#2852](https://github.com/mmistakes/minimal-mistakes/issues/2852) [#2855](https://github.com/mmistakes/minimal-mistakes/pull/2855)
|
||||||
|
|
||||||
## [4.22.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.22.0)
|
## [4.22.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.22.0)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
@@ -21,11 +58,11 @@ toc: false
|
|||||||
- Allow custom sorting for collections. [#2723](https://github.com/mmistakes/minimal-mistakes/pull/2723)
|
- Allow custom sorting for collections. [#2723](https://github.com/mmistakes/minimal-mistakes/pull/2723)
|
||||||
- Use `sort_natural` instead of custom Liquid logic to sort tags and categories. [#2756](https://github.com/mmistakes/minimal-mistakes/pull/2756)
|
- Use `sort_natural` instead of custom Liquid logic to sort tags and categories. [#2756](https://github.com/mmistakes/minimal-mistakes/pull/2756)
|
||||||
- Add configuration option to toggle off RSS feed link in `<head>` and site footer. [#2787](https://github.com/mmistakes/minimal-mistakes/pull/2787)
|
- Add configuration option to toggle off RSS feed link in `<head>` and site footer. [#2787](https://github.com/mmistakes/minimal-mistakes/pull/2787)
|
||||||
- Upgrade Lunrjs to 2.3.9 and switch to `relative_url`. [#2805]
|
- Upgrade Lunrjs to 2.3.9 and switch to `relative_url`. [#2805](https://github.com/mmistakes/minimal-mistakes/pull/2805)
|
||||||
- Adds `.webp` to list of supported image extensions for the image popup lightbox. [#2788](https://github.com/mmistakes/minimal-mistakes/pull/2788)
|
- Adds `.webp` to list of supported image extensions for the image popup lightbox. [#2788](https://github.com/mmistakes/minimal-mistakes/pull/2788)
|
||||||
- Add Hebrew localized UI text strings. [#2760](https://github.com/mmistakes/minimal-mistakes/pull/2760)
|
- Add Hebrew localized UI text strings. [#2760](https://github.com/mmistakes/minimal-mistakes/pull/2760)
|
||||||
- Update documentation to include `toc_sticky` parameter's description. [#2741](https://github.com/mmistakes/minimal-mistakes/pull/2741)
|
- Update documentation to include `toc_sticky` parameter's description. [#2741](https://github.com/mmistakes/minimal-mistakes/pull/2741)
|
||||||
- Update Indonesian localized UI text strings. [#2731](https://github.com/mmistakes/minimal-mistakes/pull/2731)]
|
- Update Indonesian localized UI text strings. [#2731](https://github.com/mmistakes/minimal-mistakes/pull/2731)
|
||||||
- Update remote theme documentation. [#2734](https://github.com/mmistakes/minimal-mistakes/pull/2734)
|
- Update remote theme documentation. [#2734](https://github.com/mmistakes/minimal-mistakes/pull/2734)
|
||||||
- Update allejo/jekyll-toc to v1.1.0, skip headings without an ID. [#2752](https://github.com/mmistakes/minimal-mistakes/pull/2752)
|
- Update allejo/jekyll-toc to v1.1.0, skip headings without an ID. [#2752](https://github.com/mmistakes/minimal-mistakes/pull/2752)
|
||||||
- Allow custom gradient for page header overlay. [#2806](https://github.com/mmistakes/minimal-mistakes/pull/2806)
|
- Allow custom gradient for page header overlay. [#2806](https://github.com/mmistakes/minimal-mistakes/pull/2806)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.22.0 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
|
||||||
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
@@ -21,17 +21,14 @@
|
|||||||
|
|
||||||
<div class="initial-content">
|
<div class="initial-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
<div align="center" style="margin: 1em 0;">
|
||||||
<div align="center" style="margin: 1em 0;">
|
|
||||||
<ins class="adsbygoogle"
|
<ins class="adsbygoogle"
|
||||||
style="display:block; border-bottom: initial;"
|
style="display:block; border-bottom: initial;"
|
||||||
data-ad-client="ca-pub-7328585512091257"
|
data-ad-client="ca-pub-7328585512091257"
|
||||||
data-ad-slot="3049671934"
|
data-ad-slot="3049671934"
|
||||||
data-ad-format="auto"></ins>
|
data-ad-format="auto"
|
||||||
</div>
|
data-full-width-responsive="true"></ins>
|
||||||
<script>
|
</div>
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
||||||
</script>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
@@ -48,6 +45,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include scripts.html %}
|
{% include scripts.html %}
|
||||||
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -0,0 +1,97 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
|
{% include page__hero.html %}
|
||||||
|
{% elsif page.header.video.id and page.header.video.provider %}
|
||||||
|
{% include page__hero_video.html %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.url != "/" and site.breadcrumbs %}
|
||||||
|
{% unless paginator %}
|
||||||
|
{% include breadcrumbs.html %}
|
||||||
|
{% endunless %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<div id="main" role="main">
|
||||||
|
{% include sidebar.html %}
|
||||||
|
|
||||||
|
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
|
||||||
|
|
||||||
|
<div class="page__inner-wrap">
|
||||||
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
|
<header>
|
||||||
|
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
||||||
|
{% include page__meta.html %}
|
||||||
|
</header>
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
<section class="page__content" itemprop="text">
|
||||||
|
{% if page.toc %}
|
||||||
|
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
||||||
|
<nav class="toc">
|
||||||
|
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4></header>
|
||||||
|
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" skip_no_ids=true %}
|
||||||
|
</nav>
|
||||||
|
</aside>
|
||||||
|
{% endif %}
|
||||||
|
{{ content }}
|
||||||
|
{% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer class="page__meta">
|
||||||
|
{% if site.data.ui-text[site.locale].meta_label %}
|
||||||
|
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
||||||
|
{% endif %}
|
||||||
|
{% include page__taxonomy.html %}
|
||||||
|
{% include page__date.html %}
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
{% if page.share %}{% include social-share.html %}{% endif %}
|
||||||
|
|
||||||
|
{% include post_pagination.html %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
||||||
|
{% include comments.html %}
|
||||||
|
{% endif %}
|
||||||
|
</article>
|
||||||
|
|
||||||
|
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
||||||
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
|
<div class="page__related">
|
||||||
|
<div align="center" style="margin: 1em 0;">
|
||||||
|
<ins class="adsbygoogle"
|
||||||
|
style="display:block; border-bottom: initial;"
|
||||||
|
data-ad-client="ca-pub-7328585512091257"
|
||||||
|
data-ad-slot="3049671934"
|
||||||
|
data-ad-format="auto"
|
||||||
|
data-full-width-responsive="true"></ins>
|
||||||
|
</div>
|
||||||
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
|
<div class="grid__wrapper">
|
||||||
|
{% for post in site.related_posts limit:4 %}
|
||||||
|
{% include archive-single.html type="grid" %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
||||||
|
{% elsif page.id and page.related %}
|
||||||
|
<div class="page__related">
|
||||||
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
|
<div class="grid__wrapper">
|
||||||
|
{% for post in site.posts limit:4 %}
|
||||||
|
{% if post.id == page.id %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
|
{% include archive-single.html type="grid" %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
@@ -12,7 +12,7 @@ layouts_gallery:
|
|||||||
- url: /assets/images/mm-layout-archive.png
|
- url: /assets/images/mm-layout-archive.png
|
||||||
image_path: /assets/images/mm-layout-archive.png
|
image_path: /assets/images/mm-layout-archive.png
|
||||||
alt: "archive layout example"
|
alt: "archive layout example"
|
||||||
last_modified_at: 2021-02-05T20:54:41-05:00
|
last_modified_at: 2021-05-11T10:23:16-04:00
|
||||||
toc: true
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
||||||
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
||||||
- 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.
|
- 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.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), [giscus](https://giscus.app/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), 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, 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.
|
- 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, 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.
|
||||||
|
|
||||||
## Demo Pages
|
## Demo Pages
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ header:
|
|||||||
url: "/docs/quick-start-guide/"
|
url: "/docs/quick-start-guide/"
|
||||||
excerpt: >
|
excerpt: >
|
||||||
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
|
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
|
||||||
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.22.0">Latest release v4.22.0</a></small>
|
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.24.0">Latest release v4.24.0</a></small>
|
||||||
feature_row:
|
feature_row:
|
||||||
- image_path: /assets/images/mm-customizable-feature.png
|
- image_path: /assets/images/mm-customizable-feature.png
|
||||||
alt: "customizable"
|
alt: "customizable"
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: "Layout: Sidebar Custom"
|
title: "Layout: Sidebar Custom"
|
||||||
excerpt: "A post with custom sidebar content."
|
excerpt: "A post with custom sidebar content."
|
||||||
|
last_modified_at: 2021-06-23T07:53:04-04:00
|
||||||
author_profile: false
|
author_profile: false
|
||||||
sidebar:
|
sidebar:
|
||||||
- title: "Title"
|
- title: "Title"
|
||||||
image: http://placehold.it/350x250
|
image: "/assets/images/350x250.png"
|
||||||
image_alt: "image"
|
image_alt: "image"
|
||||||
text: "Some text here."
|
text: "Some text here."
|
||||||
- title: "Another Title"
|
- title: "Another Title"
|
||||||
@@ -19,7 +20,7 @@ An example of how that YAML could look is:
|
|||||||
```yaml
|
```yaml
|
||||||
sidebar:
|
sidebar:
|
||||||
- title: "Title"
|
- title: "Title"
|
||||||
image: http://placehold.it/350x250
|
image: "/assets/images/your-image.jpg"
|
||||||
image_alt: "image"
|
image_alt: "image"
|
||||||
text: "Some text here."
|
text: "Some text here."
|
||||||
- title: "Another Title"
|
- title: "Another Title"
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "minimal-mistakes-jekyll"
|
spec.name = "minimal-mistakes-jekyll"
|
||||||
spec.version = "4.22.0"
|
spec.version = "4.24.0"
|
||||||
spec.authors = ["Michael Rose"]
|
spec.authors = ["Michael Rose"]
|
||||||
|
|
||||||
spec.summary = %q{A flexible two-column Jekyll theme.}
|
spec.summary = %q{A flexible two-column Jekyll theme.}
|
||||||
|
|||||||
Generated
+92
-929
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "4.22.0",
|
"version": "4.24.0",
|
||||||
"description": "Minimal Mistakes 2 column Jekyll theme.",
|
"description": "Minimal Mistakes 2 column Jekyll theme.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"onchange": "^6.1.0",
|
"onchange": "^7.1.0",
|
||||||
"uglify-js": "^3.8.0"
|
"uglify-js": "^3.13.6"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.5.1.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.5.1.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
# For example, you can have one property to handle comment submission and
|
# For example, you can have one property to handle comment submission and
|
||||||
# another one to handle posts.
|
# another one to handle posts.
|
||||||
# To encrypt strings use the following endpoint:
|
# To encrypt strings use the following endpoint:
|
||||||
# https://api.staticman.net/v2/encrypt/{TEXT TO BE ENCRYPTED}
|
# https://{your Staticman API URL}/v[2|3]/encrypt/{TEXT TO BE ENCRYPTED}
|
||||||
|
|
||||||
comments:
|
comments:
|
||||||
# (*) REQUIRED
|
# (*) REQUIRED
|
||||||
|
|||||||
+8
-1
@@ -24,7 +24,7 @@ masthead_title : "Custom Title" # overrides the website title displaye
|
|||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "utterances", "custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "utterances", "giscus", "custom"
|
||||||
disqus:
|
disqus:
|
||||||
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
||||||
discourse:
|
discourse:
|
||||||
@@ -37,6 +37,13 @@ comments:
|
|||||||
utterances:
|
utterances:
|
||||||
theme : # "github-light" (default), "github-dark"
|
theme : # "github-light" (default), "github-dark"
|
||||||
issue_term : # "pathname" (default)
|
issue_term : # "pathname" (default)
|
||||||
|
giscus:
|
||||||
|
repo_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
category_name : # Full text name of the category
|
||||||
|
category_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
discussion_term : # "pathname" (default), "url", "title", "og:title"
|
||||||
|
reactions_enabled : # '1' for enabled (default), '0' for disabled
|
||||||
|
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
|
||||||
staticman:
|
staticman:
|
||||||
branch : # "master"
|
branch : # "master"
|
||||||
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
||||||
|
|||||||
Reference in New Issue
Block a user