minimal-mistakes-jekyll 4.7.0 → 4.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -3
- data/LICENSE.txt +58 -58
- data/README.md +49 -19
- data/_data/navigation.yml +11 -11
- data/_data/ui-text.yml +2 -0
- data/_includes/analytics-providers/custom.html +2 -2
- data/_includes/analytics-providers/google-universal.html +9 -9
- data/_includes/analytics-providers/google.html +10 -10
- data/_includes/analytics.html +11 -11
- data/_includes/archive-single.html +37 -37
- data/_includes/author-profile-custom-links.html +6 -6
- data/_includes/author-profile.html +249 -249
- data/_includes/base_path +4 -4
- data/_includes/breadcrumbs.html +39 -39
- data/_includes/browser-upgrade.html +3 -3
- data/_includes/category-list.html +25 -25
- data/_includes/comment.html +22 -22
- data/_includes/comments-providers/custom.html +2 -2
- data/_includes/comments-providers/discourse.html +13 -13
- data/_includes/comments-providers/facebook.html +7 -7
- data/_includes/comments-providers/google-plus.html +1 -1
- data/_includes/comments-providers/staticman.html +41 -41
- data/_includes/comments-providers/staticman_v2.html +41 -41
- data/_includes/feature_row +49 -49
- data/_includes/figure +12 -12
- data/_includes/footer.html +25 -25
- data/_includes/footer/custom.html +2 -2
- data/_includes/gallery +46 -46
- data/_includes/group-by-array +46 -46
- data/_includes/head.html +42 -42
- data/_includes/head/custom.html +4 -4
- data/_includes/nav_list +46 -46
- data/_includes/page__hero_video.html +4 -4
- data/_includes/page__taxonomy.html +6 -6
- data/_includes/paginator.html +69 -69
- data/_includes/post_pagination.html +13 -13
- data/_includes/read-time.html +14 -14
- data/_includes/scripts.html +20 -15
- data/_includes/seo.html +162 -162
- data/_includes/sidebar.html +22 -22
- data/_includes/social-share.html +13 -13
- data/_includes/tag-list.html +25 -25
- data/_includes/toc +6 -6
- data/_includes/toc.html +74 -74
- data/_includes/video +11 -11
- data/_layouts/archive-taxonomy.html +14 -14
- data/_layouts/archive.html +25 -25
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +11 -11
- data/_layouts/search.html +32 -0
- data/_layouts/single.html +92 -92
- data/_layouts/splash.html +21 -21
- data/_sass/minimal-mistakes.scss +3 -2
- data/_sass/minimal-mistakes/_animations.scss +20 -20
- data/_sass/minimal-mistakes/_archive.scss +317 -317
- data/_sass/minimal-mistakes/_base.scss +315 -315
- data/_sass/minimal-mistakes/_buttons.scss +97 -97
- data/_sass/minimal-mistakes/_footer.scss +82 -82
- data/_sass/minimal-mistakes/_forms.scss +341 -347
- data/_sass/minimal-mistakes/_masthead.scss +82 -82
- data/_sass/minimal-mistakes/_mixins.scss +91 -91
- data/_sass/minimal-mistakes/_navigation.scss +552 -552
- data/_sass/minimal-mistakes/_notices.scss +99 -99
- data/_sass/minimal-mistakes/_page.scss +430 -430
- data/_sass/minimal-mistakes/_reset.scss +1 -1
- data/_sass/minimal-mistakes/_search.scss +9 -0
- data/_sass/minimal-mistakes/_sidebar.scss +262 -262
- data/_sass/minimal-mistakes/_tables.scss +36 -36
- data/_sass/minimal-mistakes/_utilities.scss +519 -519
- data/_sass/minimal-mistakes/_variables.scss +137 -137
- data/_sass/minimal-mistakes/skins/_air.scss +22 -22
- data/_sass/minimal-mistakes/skins/_aqua.scss +29 -29
- data/_sass/minimal-mistakes/skins/_contrast.scss +33 -33
- data/_sass/minimal-mistakes/skins/_dark.scss +23 -23
- data/_sass/minimal-mistakes/skins/_default.scss +5 -5
- data/_sass/minimal-mistakes/skins/_dirt.scss +14 -14
- data/_sass/minimal-mistakes/skins/_mint.scss +22 -22
- data/_sass/minimal-mistakes/skins/_sunrise.scss +25 -25
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
- data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
- data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
- data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
- data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
- data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
- data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
- data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
- data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
- data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
- data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
- data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
- data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
- data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
- data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -13
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -5
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -5
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -318
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -261
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -163
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -329
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -441
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -213
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -191
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -56
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -167
- data/assets/css/main.scss +7 -7
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/_main.js +72 -72
- data/assets/js/lunr-en.js +92 -0
- data/assets/js/lunr.min.js +7 -0
- data/assets/js/main.min.js +8 -8
- data/assets/js/plugins/jquery.fitvids.js +81 -81
- data/assets/js/plugins/jquery.greedy-navigation.js +77 -77
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a481c2e41558d195d77e73f38339cbc48eee2ff0
|
4
|
+
data.tar.gz: 799c6a9a11f7cff48d9af785fab97b37c95d7423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 124333cbfb0fbd2279d1efc76a56f914ae2402d86b258175de0f1fa9df15d7c4b0dbf886da4d53537c18667e553db63ab06d8fbd95acab67af2a08d5eddbc0f3
|
7
|
+
data.tar.gz: 1c4c8a17e890faafeed157933cdfbd86120d22aeb059836636e3fcf004714ba9c22579907cdd482a3b6f045216089e325bd0b0ccbee867e35466a07c054debb2
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
-
##
|
1
|
+
## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1)
|
2
|
+
|
3
|
+
### Enhancements
|
4
|
+
|
5
|
+
- Add search layout powered by [Lunr](https://lunrjs.com/). [#1353](https://github.com/mmistakes/minimal-mistakes/pull/1353)
|
6
|
+
- Use [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme) for demo site. [#1339](https://github.com/mmistakes/minimal-mistakes/issues/1339)
|
7
|
+
- Add note about WordPress to Staticman comment migration tool in documentation. [#1346](https://github.com/mmistakes/minimal-mistakes/issues/1346)
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
- Change `http` to `https` for Jekyll and Browserhappy links. [#1342](https://github.com/mmistakes/minimal-mistakes/pull/1342) [#1343](https://github.com/mmistakes/minimal-mistakes/pull/1343)
|
12
|
+
- Change `http` author profile links to `https` when supported. [#1349](https://github.com/mmistakes/minimal-mistakes/pull/1349)
|
13
|
+
- Fix broken SCSS partial links in layouts documentation. [#1351](https://github.com/mmistakes/minimal-mistakes/issues/1351)
|
14
|
+
|
15
|
+
## [4.7.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.0)
|
2
16
|
|
3
17
|
### Enhancements
|
4
18
|
|
@@ -17,7 +31,7 @@
|
|
17
31
|
- Fix the spelling of some product names in the author profile. [#1328](https://github.com/mmistakes/minimal-mistakes/pull/1328)
|
18
32
|
- Add `aqua`, `neon`, and `plum` skins. [#1336](https://github.com/mmistakes/minimal-mistakes/pull/1336)
|
19
33
|
- Update **jekyll-toc** with heading classes fix. [#1337](https://github.com/mmistakes/minimal-mistakes/pull/1337)
|
20
|
-
- Remove `+` from Google+ author link to allow non-vanity URLs. [#1319]
|
34
|
+
- Remove `+` from Google+ author link to allow non-vanity URLs. [#1319](https://github.com/mmistakes/minimal-mistakes/pull/1319)
|
21
35
|
|
22
36
|
### Bug Fixes
|
23
37
|
|
@@ -916,4 +930,4 @@
|
|
916
930
|
|
917
931
|
- Google Analytics, Google Authorship, webmaster verifies, and Twitter card meta are now optional.
|
918
932
|
|
919
|
-
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
|
933
|
+
## [1.0.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/v1.0.1)
|
data/LICENSE.txt
CHANGED
@@ -1,59 +1,59 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 Michael Rose
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
22
|
-
|
23
|
-
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
|
24
|
-
creators Garrett Knoll, Arthur Shlain, and tracy tam.
|
25
|
-
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
|
26
|
-
|
27
|
-
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
|
28
|
-
Copyright (c) 2017 Dave Gandy.
|
29
|
-
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
|
30
|
-
and [MIT License](http://opensource.org/licenses/MIT).
|
31
|
-
|
32
|
-
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
|
33
|
-
|
34
|
-
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
|
35
|
-
Copyright (c) 2017, Miriam Eric Suzanne.
|
36
|
-
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
|
37
|
-
|
38
|
-
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
|
39
|
-
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
|
40
|
-
|
41
|
-
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
42
|
-
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
43
|
-
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
|
44
|
-
|
45
|
-
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
46
|
-
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
47
|
-
Magnific Popup is distributed under the terms of the MIT License.
|
48
|
-
|
49
|
-
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
|
50
|
-
Copyright (c) 2017 Karl Swedberg.
|
51
|
-
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
52
|
-
|
53
|
-
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
54
|
-
Copyright (c) 2015 Luke Jackson.
|
55
|
-
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
56
|
-
|
57
|
-
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
|
58
|
-
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Michael Rose
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
23
|
+
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
|
24
|
+
creators Garrett Knoll, Arthur Shlain, and tracy tam.
|
25
|
+
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
|
26
|
+
|
27
|
+
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
|
28
|
+
Copyright (c) 2017 Dave Gandy.
|
29
|
+
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
|
30
|
+
and [MIT License](http://opensource.org/licenses/MIT).
|
31
|
+
|
32
|
+
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
|
33
|
+
|
34
|
+
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
|
35
|
+
Copyright (c) 2017, Miriam Eric Suzanne.
|
36
|
+
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
|
37
|
+
|
38
|
+
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
|
39
|
+
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
42
|
+
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
43
|
+
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
|
44
|
+
|
45
|
+
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
46
|
+
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
47
|
+
Magnific Popup is distributed under the terms of the MIT License.
|
48
|
+
|
49
|
+
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
|
50
|
+
Copyright (c) 2017 Karl Swedberg.
|
51
|
+
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
52
|
+
|
53
|
+
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
54
|
+
Copyright (c) 2015 Luke Jackson.
|
55
|
+
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
56
|
+
|
57
|
+
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
|
58
|
+
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
|
59
59
|
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|
19
19
|
- Compatible with GitHub Pages.
|
20
20
|
- Support for Jekyll's built-in Sass/SCSS preprocessor.
|
21
21
|
- Nine different skins (color variations).
|
22
|
-
- Several responsive layout options (single, archive index, splash, and paginated home page).
|
22
|
+
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
23
23
|
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
24
24
|
- 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.
|
25
25
|
- 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 v1 and v2](https://staticman.net/), and custom).
|
@@ -28,7 +28,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|
28
28
|
|
29
29
|
## Skins (Color Variations)
|
30
30
|
|
31
|
-
This theme comes in
|
31
|
+
This theme comes in nine different skins (including the default one).
|
32
32
|
|
33
33
|
| `air` | `contrast` | `dark` |
|
34
34
|
| --- | --- | --- |
|
@@ -65,34 +65,64 @@ Additional sample posts are available under [posts archive][year-archive] on the
|
|
65
65
|
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
66
66
|
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
67
67
|
|
68
|
-
##
|
69
|
-
|
70
|
-
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
68
|
+
## Installation
|
71
69
|
|
72
|
-
|
70
|
+
There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
|
73
71
|
|
74
|
-
|
72
|
+
### Ruby Gem Method
|
75
73
|
|
76
|
-
|
74
|
+
1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:
|
77
75
|
|
78
|
-
```ruby
|
79
|
-
gem "minimal-mistakes-jekyll"
|
80
|
-
```
|
76
|
+
```ruby
|
77
|
+
gem "minimal-mistakes-jekyll"
|
78
|
+
```
|
81
79
|
|
82
|
-
|
80
|
+
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
83
81
|
|
84
|
-
```
|
85
|
-
|
86
|
-
```
|
82
|
+
```bash
|
83
|
+
bundle
|
84
|
+
```
|
87
85
|
|
88
|
-
|
86
|
+
3. Set the `theme` in your project's Jekyll `_config.yml` file:
|
89
87
|
|
90
|
-
```
|
91
|
-
|
92
|
-
```
|
88
|
+
```yaml
|
89
|
+
theme: minimal-mistakes-jekyll
|
90
|
+
```
|
93
91
|
|
94
92
|
To update the theme run `bundle update`.
|
95
93
|
|
94
|
+
## GitHub Pages Compatible Methods
|
95
|
+
|
96
|
+
1. Create/replace the contents of your `Gemfile` with the following:
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
source "https://rubygems.org"
|
100
|
+
|
101
|
+
gem "github-pages", group: :jekyll_plugins
|
102
|
+
gem "jekyll-remote-theme"
|
103
|
+
```
|
104
|
+
|
105
|
+
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
106
|
+
|
107
|
+
```bash
|
108
|
+
bundle
|
109
|
+
```
|
110
|
+
|
111
|
+
3. Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file.
|
112
|
+
|
113
|
+
4. Add `jekyll-remote-theme` to the `plugins` (previously gems) array in your `_config.yml` file:
|
114
|
+
|
115
|
+
```yaml
|
116
|
+
plugins:
|
117
|
+
- jekyll-remote-theme
|
118
|
+
```
|
119
|
+
|
120
|
+
**Note:** [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme) is currently in beta on GitHub Pages. In my tests it works as advertised, with the occasional failure due to missing `_includes` and `_layouts` --- your results may vary.
|
121
|
+
|
122
|
+
## Usage
|
123
|
+
|
124
|
+
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
125
|
+
|
96
126
|
---
|
97
127
|
|
98
128
|
## Contributing
|
data/_data/navigation.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# main links
|
2
|
-
main:
|
3
|
-
- title: "Quick-Start Guide"
|
4
|
-
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
5
|
-
# - title: "About"
|
6
|
-
# url: https://mmistakes.github.io/minimal-mistakes/about/
|
7
|
-
# - title: "Sample Posts"
|
8
|
-
# url: /year-archive/
|
9
|
-
# - title: "Sample Collections"
|
10
|
-
# url: /collection-archive/
|
11
|
-
# - title: "Sitemap"
|
1
|
+
# main links
|
2
|
+
main:
|
3
|
+
- title: "Quick-Start Guide"
|
4
|
+
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
5
|
+
# - title: "About"
|
6
|
+
# url: https://mmistakes.github.io/minimal-mistakes/about/
|
7
|
+
# - title: "Sample Posts"
|
8
|
+
# url: /year-archive/
|
9
|
+
# - title: "Sample Collections"
|
10
|
+
# url: /collection-archive/
|
11
|
+
# - title: "Sitemap"
|
12
12
|
# url: /sitemap/
|
data/_data/ui-text.yml
CHANGED
@@ -40,6 +40,8 @@ en: &DEFAULT_EN
|
|
40
40
|
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
|
41
41
|
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
|
42
42
|
loading_label : "Loading..."
|
43
|
+
search_placeholder_text : "Enter your search term..."
|
44
|
+
results_found : "Result(s) found"
|
43
45
|
en-US:
|
44
46
|
<<: *DEFAULT_EN
|
45
47
|
en-CA:
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<!-- start custom analytics snippet -->
|
2
|
-
|
1
|
+
<!-- start custom analytics snippet -->
|
2
|
+
|
3
3
|
<!-- end custom analytics snippet -->
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<script>
|
2
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
-
|
7
|
-
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
|
8
|
-
ga('send', 'pageview');
|
9
|
-
</script>
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
</script>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<script type="text/javascript">
|
2
|
-
var _gaq = _gaq || [];
|
3
|
-
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
4
|
-
_gaq.push(['_trackPageview']);
|
5
|
-
|
6
|
-
(function() {
|
7
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
8
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
9
|
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
10
|
-
})();
|
1
|
+
<script type="text/javascript">
|
2
|
+
var _gaq = _gaq || [];
|
3
|
+
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
4
|
+
_gaq.push(['_trackPageview']);
|
5
|
+
|
6
|
+
(function() {
|
7
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
8
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
9
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
10
|
+
})();
|
11
11
|
</script>
|
data/_includes/analytics.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
{% if site.analytics.provider and page.analytics != false %}
|
2
|
-
|
3
|
-
{% case site.analytics.provider %}
|
4
|
-
{% when "google" %}
|
5
|
-
{% include /analytics-providers/google.html %}
|
6
|
-
{% when "google-universal" %}
|
7
|
-
{% include /analytics-providers/google-universal.html %}
|
8
|
-
{% when "custom" %}
|
9
|
-
{% include /analytics-providers/custom.html %}
|
10
|
-
{% endcase %}
|
11
|
-
|
1
|
+
{% if site.analytics.provider and page.analytics != false %}
|
2
|
+
|
3
|
+
{% case site.analytics.provider %}
|
4
|
+
{% when "google" %}
|
5
|
+
{% include /analytics-providers/google.html %}
|
6
|
+
{% when "google-universal" %}
|
7
|
+
{% include /analytics-providers/google-universal.html %}
|
8
|
+
{% when "custom" %}
|
9
|
+
{% include /analytics-providers/custom.html %}
|
10
|
+
{% endcase %}
|
11
|
+
|
12
12
|
{% endif %}
|
@@ -1,38 +1,38 @@
|
|
1
|
-
{% if post.header.teaser %}
|
2
|
-
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
3
|
-
{% else %}
|
4
|
-
{% assign teaser = site.teaser %}
|
5
|
-
{% endif %}
|
6
|
-
|
7
|
-
{% if post.id %}
|
8
|
-
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
9
|
-
{% else %}
|
10
|
-
{% assign title = post.title %}
|
11
|
-
{% endif %}
|
12
|
-
|
13
|
-
<div class="{{ include.type | default: "list" }}__item">
|
14
|
-
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
15
|
-
{% if include.type == "grid" and teaser %}
|
16
|
-
<div class="archive__item-teaser">
|
17
|
-
<img src=
|
18
|
-
{% if teaser contains "://" %}
|
19
|
-
"{{ teaser }}"
|
20
|
-
{% else %}
|
21
|
-
"{{ teaser | absolute_url }}"
|
22
|
-
{% endif %}
|
23
|
-
alt="">
|
24
|
-
</div>
|
25
|
-
{% endif %}
|
26
|
-
<h2 class="archive__item-title" itemprop="headline">
|
27
|
-
{% if post.link %}
|
28
|
-
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
29
|
-
{% else %}
|
30
|
-
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
|
31
|
-
{% endif %}
|
32
|
-
</h2>
|
33
|
-
{% if post.read_time %}
|
34
|
-
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
35
|
-
{% endif %}
|
36
|
-
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
37
|
-
</article>
|
1
|
+
{% if post.header.teaser %}
|
2
|
+
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
3
|
+
{% else %}
|
4
|
+
{% assign teaser = site.teaser %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if post.id %}
|
8
|
+
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
9
|
+
{% else %}
|
10
|
+
{% assign title = post.title %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<div class="{{ include.type | default: "list" }}__item">
|
14
|
+
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
15
|
+
{% if include.type == "grid" and teaser %}
|
16
|
+
<div class="archive__item-teaser">
|
17
|
+
<img src=
|
18
|
+
{% if teaser contains "://" %}
|
19
|
+
"{{ teaser }}"
|
20
|
+
{% else %}
|
21
|
+
"{{ teaser | absolute_url }}"
|
22
|
+
{% endif %}
|
23
|
+
alt="">
|
24
|
+
</div>
|
25
|
+
{% endif %}
|
26
|
+
<h2 class="archive__item-title" itemprop="headline">
|
27
|
+
{% if post.link %}
|
28
|
+
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
29
|
+
{% else %}
|
30
|
+
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
|
31
|
+
{% endif %}
|
32
|
+
</h2>
|
33
|
+
{% if post.read_time %}
|
34
|
+
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
35
|
+
{% endif %}
|
36
|
+
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
37
|
+
</article>
|
38
38
|
</div>
|