minimal-mistakes-jekyll 4.14.1 → 4.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/LICENSE +20 -20
  4. data/README.md +2 -2
  5. data/_data/ui-text.yml +1249 -1176
  6. data/_includes/analytics-providers/google-gtag.html +9 -9
  7. data/_includes/analytics-providers/google-universal.html +10 -10
  8. data/_includes/analytics-providers/google.html +13 -13
  9. data/_includes/analytics.html +13 -13
  10. data/_includes/archive-single.html +2 -2
  11. data/_includes/author-profile-custom-links.html +6 -6
  12. data/_includes/author-profile.html +271 -271
  13. data/_includes/breadcrumbs.html +39 -39
  14. data/_includes/comment.html +2 -2
  15. data/_includes/comments-providers/scripts.html +19 -19
  16. data/_includes/comments-providers/staticman.html +1 -3
  17. data/_includes/comments-providers/staticman_v2.html +1 -3
  18. data/_includes/comments-providers/utterances.html +19 -19
  19. data/_includes/comments.html +174 -174
  20. data/_includes/footer.html +19 -19
  21. data/_includes/head.html +41 -41
  22. data/_includes/masthead.html +34 -33
  23. data/_includes/scripts.html +1 -1
  24. data/_includes/search/algolia-search-scripts.html +54 -54
  25. data/_includes/search/search_form.html +18 -18
  26. data/_includes/seo.html +164 -164
  27. data/_includes/sidebar.html +1 -0
  28. data/_includes/video +13 -13
  29. data/_layouts/default.html +2 -2
  30. data/_layouts/home.html +13 -13
  31. data/_layouts/posts.html +29 -29
  32. data/_layouts/search.html +2 -2
  33. data/_layouts/single.html +95 -95
  34. data/_layouts/splash.html +22 -22
  35. data/_layouts/tags.html +42 -42
  36. data/_sass/minimal-mistakes.scss +2 -2
  37. data/_sass/minimal-mistakes/_archive.scss +437 -437
  38. data/_sass/minimal-mistakes/_base.scss +357 -357
  39. data/_sass/minimal-mistakes/_footer.scss +91 -91
  40. data/_sass/minimal-mistakes/_mixins.scss +91 -91
  41. data/_sass/minimal-mistakes/_navigation.scss +556 -556
  42. data/_sass/minimal-mistakes/_search.scss +126 -126
  43. data/_sass/minimal-mistakes/_sidebar.scss +318 -318
  44. data/_sass/minimal-mistakes/_tables.scss +2 -0
  45. data/_sass/minimal-mistakes/_variables.scss +159 -159
  46. data/_sass/minimal-mistakes/skins/_dark.scss +27 -27
  47. data/_sass/minimal-mistakes/skins/_neon.scss +56 -56
  48. data/_sass/minimal-mistakes/skins/_plum.scss +63 -63
  49. data/assets/js/_main.js +106 -106
  50. data/assets/js/lunr/lunr-en.js +2 -2
  51. data/assets/js/lunr/lunr-gr.js +2 -2
  52. data/assets/js/lunr/lunr-store.js +54 -54
  53. data/assets/js/lunr/lunr.js +3484 -3484
  54. data/assets/js/lunr/lunr.min.js +1 -6
  55. data/assets/js/main.min.js +6 -6
  56. metadata +3 -3
@@ -1,64 +1,64 @@
1
- /* ==========================================================================
2
- Plum skin
3
- ========================================================================== */
4
-
5
- /* Colors */
6
- $background-color: #521477 !default;
7
- $text-color: #fffd86 !default;
8
- $primary-color: #c327ab !default;
9
- $border-color: mix(#fff, $background-color, 20%) !default;
10
- $code-background-color: mix(#000, $background-color, 15%) !default;
11
- $code-background-color-dark: mix(#000, $background-color, 20%) !default;
12
- $form-background-color: mix(#000, $background-color, 15%) !default;
13
- $footer-background-color: mix(#000, $background-color, 25%) !default;
14
- $link-color: $primary-color !default;
15
- $link-color-hover: mix(#fff, $link-color, 25%) !default;
16
- $link-color-visited: mix(#000, $link-color, 25%) !default;
17
- $masthead-link-color: $text-color !default;
18
- $masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
19
- $navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
20
-
21
- /* plum syntax highlighting (base16) */
22
- $base00: #ffffff !default;
23
- $base01: #e0e0e0 !default;
24
- $base02: #d0d0d0 !default;
25
- $base03: #b0b0b0 !default;
26
- $base04: #000000 !default;
27
- $base05: #101010 !default;
28
- $base06: #151515 !default;
29
- $base07: #202020 !default;
30
- $base08: #ff0086 !default;
31
- $base09: #fd8900 !default;
32
- $base0a: #aba800 !default;
33
- $base0b: #00c918 !default;
34
- $base0c: #1faaaa !default;
35
- $base0d: #3777e6 !default;
36
- $base0e: #ad00a1 !default;
37
- $base0f: #cc6633 !default;
38
-
39
- .author__urls.social-icons .svg-inline--fa,
40
- .page__footer-follow .social-icons .svg-inline--fa {
41
- color: inherit;
42
- }
43
-
44
- .page__content {
45
- a,
46
- a:visited {
47
- color: inherit;
48
- }
49
- }
50
-
51
- /* next/previous buttons */
52
- .pagination--pager {
53
- color: $text-color;
54
- background-color: $primary-color;
55
- border-color: transparent;
56
-
57
- &:visited {
58
- color: $text-color;
59
- }
60
- }
61
-
62
- .ais-search-box .ais-search-box--input {
63
- background-color: $form-background-color;
1
+ /* ==========================================================================
2
+ Plum skin
3
+ ========================================================================== */
4
+
5
+ /* Colors */
6
+ $background-color: #521477 !default;
7
+ $text-color: #fffd86 !default;
8
+ $primary-color: #c327ab !default;
9
+ $border-color: mix(#fff, $background-color, 20%) !default;
10
+ $code-background-color: mix(#000, $background-color, 15%) !default;
11
+ $code-background-color-dark: mix(#000, $background-color, 20%) !default;
12
+ $form-background-color: mix(#000, $background-color, 15%) !default;
13
+ $footer-background-color: mix(#000, $background-color, 25%) !default;
14
+ $link-color: $primary-color !default;
15
+ $link-color-hover: mix(#fff, $link-color, 25%) !default;
16
+ $link-color-visited: mix(#000, $link-color, 25%) !default;
17
+ $masthead-link-color: $text-color !default;
18
+ $masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
19
+ $navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
20
+
21
+ /* plum syntax highlighting (base16) */
22
+ $base00: #ffffff !default;
23
+ $base01: #e0e0e0 !default;
24
+ $base02: #d0d0d0 !default;
25
+ $base03: #b0b0b0 !default;
26
+ $base04: #000000 !default;
27
+ $base05: #101010 !default;
28
+ $base06: #151515 !default;
29
+ $base07: #202020 !default;
30
+ $base08: #ff0086 !default;
31
+ $base09: #fd8900 !default;
32
+ $base0a: #aba800 !default;
33
+ $base0b: #00c918 !default;
34
+ $base0c: #1faaaa !default;
35
+ $base0d: #3777e6 !default;
36
+ $base0e: #ad00a1 !default;
37
+ $base0f: #cc6633 !default;
38
+
39
+ .author__urls.social-icons .svg-inline--fa,
40
+ .page__footer-follow .social-icons .svg-inline--fa {
41
+ color: inherit;
42
+ }
43
+
44
+ .page__content {
45
+ a,
46
+ a:visited {
47
+ color: inherit;
48
+ }
49
+ }
50
+
51
+ /* next/previous buttons */
52
+ .pagination--pager {
53
+ color: $text-color;
54
+ background-color: $primary-color;
55
+ border-color: transparent;
56
+
57
+ &:visited {
58
+ color: $text-color;
59
+ }
60
+ }
61
+
62
+ .ais-search-box .ais-search-box--input {
63
+ background-color: $form-background-color;
64
64
  }
@@ -1,106 +1,106 @@
1
- /* ==========================================================================
2
- jQuery plugin settings and other scripts
3
- ========================================================================== */
4
-
5
- $(document).ready(function() {
6
- // Sticky footer
7
- var bumpIt = function() {
8
- $("body").css("margin-bottom", $(".page__footer").outerHeight(true));
9
- },
10
- didResize = false;
11
-
12
- bumpIt();
13
-
14
- $(window).resize(function() {
15
- didResize = true;
16
- });
17
- setInterval(function() {
18
- if (didResize) {
19
- didResize = false;
20
- bumpIt();
21
- }
22
- }, 250);
23
-
24
- // FitVids init
25
- $("#main").fitVids();
26
-
27
- // Sticky sidebar
28
- var stickySideBar = function() {
29
- var show =
30
- $(".author__urls-wrapper button").length === 0
31
- ? $(window).width() > 1024 // width should match $large Sass variable
32
- : !$(".author__urls-wrapper button").is(":visible");
33
- if (show) {
34
- // fix
35
- $(".sidebar").addClass("sticky");
36
- } else {
37
- // unfix
38
- $(".sidebar").removeClass("sticky");
39
- }
40
- };
41
-
42
- stickySideBar();
43
-
44
- $(window).resize(function() {
45
- stickySideBar();
46
- });
47
-
48
- // Follow menu drop down
49
- $(".author__urls-wrapper button").on("click", function() {
50
- $(".author__urls").toggleClass("is--visible");
51
- $(".author__urls-wrapper button").toggleClass("open");
52
- });
53
-
54
- // Search toggle
55
- $(".search__toggle").on("click", function() {
56
- $(".search-content").toggleClass("is--visible");
57
- $(".initial-content").toggleClass("is--hidden");
58
- // set focus on input
59
- setTimeout(function() {
60
- $(".search-content input").focus();
61
- }, 400);
62
- });
63
-
64
- // init smooth scroll
65
- $("a").smoothScroll({ offset: -20 });
66
-
67
- // add lightbox class to all image links
68
- $(
69
- "a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
70
- ).addClass("image-popup");
71
-
72
- // Magnific-Popup options
73
- $(".image-popup").magnificPopup({
74
- // disableOn: function() {
75
- // if( $(window).width() < 500 ) {
76
- // return false;
77
- // }
78
- // return true;
79
- // },
80
- type: "image",
81
- tLoading: "Loading image #%curr%...",
82
- gallery: {
83
- enabled: true,
84
- navigateByImgClick: true,
85
- preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
86
- },
87
- image: {
88
- tError: '<a href="%url%">Image #%curr%</a> could not be loaded.'
89
- },
90
- removalDelay: 500, // Delay in milliseconds before popup is removed
91
- // Class that is added to body when popup is open.
92
- // make it unique to apply your CSS animations just to this exact popup
93
- mainClass: "mfp-zoom-in",
94
- callbacks: {
95
- beforeOpen: function() {
96
- // just a hack that adds mfp-anim class to markup
97
- this.st.image.markup = this.st.image.markup.replace(
98
- "mfp-figure",
99
- "mfp-figure mfp-with-anim"
100
- );
101
- }
102
- },
103
- closeOnContentClick: true,
104
- midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
105
- });
106
- });
1
+ /* ==========================================================================
2
+ jQuery plugin settings and other scripts
3
+ ========================================================================== */
4
+
5
+ $(document).ready(function() {
6
+ // Sticky footer
7
+ var bumpIt = function() {
8
+ $("body").css("margin-bottom", $(".page__footer").outerHeight(true));
9
+ },
10
+ didResize = false;
11
+
12
+ bumpIt();
13
+
14
+ $(window).resize(function() {
15
+ didResize = true;
16
+ });
17
+ setInterval(function() {
18
+ if (didResize) {
19
+ didResize = false;
20
+ bumpIt();
21
+ }
22
+ }, 250);
23
+
24
+ // FitVids init
25
+ $("#main").fitVids();
26
+
27
+ // Sticky sidebar
28
+ var stickySideBar = function() {
29
+ var show =
30
+ $(".author__urls-wrapper button").length === 0
31
+ ? $(window).width() > 1024 // width should match $large Sass variable
32
+ : !$(".author__urls-wrapper button").is(":visible");
33
+ if (show) {
34
+ // fix
35
+ $(".sidebar").addClass("sticky");
36
+ } else {
37
+ // unfix
38
+ $(".sidebar").removeClass("sticky");
39
+ }
40
+ };
41
+
42
+ stickySideBar();
43
+
44
+ $(window).resize(function() {
45
+ stickySideBar();
46
+ });
47
+
48
+ // Follow menu drop down
49
+ $(".author__urls-wrapper button").on("click", function() {
50
+ $(".author__urls").toggleClass("is--visible");
51
+ $(".author__urls-wrapper button").toggleClass("open");
52
+ });
53
+
54
+ // Search toggle
55
+ $(".search__toggle").on("click", function() {
56
+ $(".search-content").toggleClass("is--visible");
57
+ $(".initial-content").toggleClass("is--hidden");
58
+ // set focus on input
59
+ setTimeout(function() {
60
+ $(".search-content input").focus();
61
+ }, 400);
62
+ });
63
+
64
+ // init smooth scroll
65
+ $("a").smoothScroll({ offset: -20 });
66
+
67
+ // add lightbox class to all image links
68
+ $(
69
+ "a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
70
+ ).addClass("image-popup");
71
+
72
+ // Magnific-Popup options
73
+ $(".image-popup").magnificPopup({
74
+ // disableOn: function() {
75
+ // if( $(window).width() < 500 ) {
76
+ // return false;
77
+ // }
78
+ // return true;
79
+ // },
80
+ type: "image",
81
+ tLoading: "Loading image #%curr%...",
82
+ gallery: {
83
+ enabled: true,
84
+ navigateByImgClick: true,
85
+ preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
86
+ },
87
+ image: {
88
+ tError: '<a href="%url%">Image #%curr%</a> could not be loaded.'
89
+ },
90
+ removalDelay: 500, // Delay in milliseconds before popup is removed
91
+ // Class that is added to body when popup is open.
92
+ // make it unique to apply your CSS animations just to this exact popup
93
+ mainClass: "mfp-zoom-in",
94
+ callbacks: {
95
+ beforeOpen: function() {
96
+ // just a hack that adds mfp-anim class to markup
97
+ this.st.image.markup = this.st.image.markup.replace(
98
+ "mfp-figure",
99
+ "mfp-figure mfp-with-anim"
100
+ );
101
+ }
102
+ },
103
+ closeOnContentClick: true,
104
+ midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
105
+ });
106
+ });
@@ -47,7 +47,7 @@ $(document).ready(function() {
47
47
  if(store[ref].teaser){
48
48
  var searchitem =
49
49
  '<div class="list__item">'+
50
- '<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
50
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
51
51
  '<h2 class="archive__item-title" itemprop="headline">'+
52
52
  '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
53
53
  '</h2>'+
@@ -61,7 +61,7 @@ $(document).ready(function() {
61
61
  else{
62
62
  var searchitem =
63
63
  '<div class="list__item">'+
64
- '<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
64
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
65
65
  '<h2 class="archive__item-title" itemprop="headline">'+
66
66
  '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
67
67
  '</h2>'+
@@ -500,7 +500,7 @@ $(document).ready(function() {
500
500
  if(store[ref].teaser){
501
501
  var searchitem =
502
502
  '<div class="list__item">'+
503
- '<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
503
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
504
504
  '<h2 class="archive__item-title" itemprop="headline">'+
505
505
  '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
506
506
  '</h2>'+
@@ -514,7 +514,7 @@ $(document).ready(function() {
514
514
  else{
515
515
  var searchitem =
516
516
  '<div class="list__item">'+
517
- '<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
517
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
518
518
  '<h2 class="archive__item-title" itemprop="headline">'+
519
519
  '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
520
520
  '</h2>'+
@@ -1,54 +1,54 @@
1
- ---
2
- layout: null
3
- ---
4
-
5
- var store = [
6
- {%- for c in site.collections -%}
7
- {%- if forloop.last -%}
8
- {%- assign l = true -%}
9
- {%- endif -%}
10
- {%- assign docs = c.docs | where_exp:'doc','doc.search != false' -%}
11
- {%- for doc in docs -%}
12
- {%- if doc.header.teaser -%}
13
- {%- capture teaser -%}{{ doc.header.teaser }}{%- endcapture -%}
14
- {%- else -%}
15
- {%- assign teaser = site.teaser -%}
16
- {%- endif -%}
17
- {
18
- "title": {{ doc.title | jsonify }},
19
- "excerpt":
20
- {%- if site.search_full_content == true -%}
21
- {{ doc.content | newline_to_br |
22
- replace:"<br />", " " |
23
- replace:"</p>", " " |
24
- replace:"</h1>", " " |
25
- replace:"</h2>", " " |
26
- replace:"</h3>", " " |
27
- replace:"</h4>", " " |
28
- replace:"</h5>", " " |
29
- replace:"</h6>", " "|
30
- strip_html | strip_newlines | jsonify }},
31
- {%- else -%}
32
- {{ doc.content | newline_to_br |
33
- replace:"<br />", " " |
34
- replace:"</p>", " " |
35
- replace:"</h1>", " " |
36
- replace:"</h2>", " " |
37
- replace:"</h3>", " " |
38
- replace:"</h4>", " " |
39
- replace:"</h5>", " " |
40
- replace:"</h6>", " "|
41
- strip_html | strip_newlines | truncatewords: 50 | jsonify }},
42
- {%- endif -%}
43
- "categories": {{ doc.categories | jsonify }},
44
- "tags": {{ doc.tags | jsonify }},
45
- "url": {{ doc.url | absolute_url | jsonify }},
46
- "teaser":
47
- {%- if teaser contains "://" -%}
48
- {{ teaser | jsonify }}
49
- {%- else -%}
50
- {{ teaser | absolute_url | jsonify }}
51
- {%- endif -%}
52
- }{%- unless forloop.last and l -%},{%- endunless -%}
53
- {%- endfor -%}
54
- {%- endfor -%}]
1
+ ---
2
+ layout: null
3
+ ---
4
+
5
+ var store = [
6
+ {%- for c in site.collections -%}
7
+ {%- if forloop.last -%}
8
+ {%- assign l = true -%}
9
+ {%- endif -%}
10
+ {%- assign docs = c.docs | where_exp:'doc','doc.search != false' -%}
11
+ {%- for doc in docs -%}
12
+ {%- if doc.header.teaser -%}
13
+ {%- capture teaser -%}{{ doc.header.teaser }}{%- endcapture -%}
14
+ {%- else -%}
15
+ {%- assign teaser = site.teaser -%}
16
+ {%- endif -%}
17
+ {
18
+ "title": {{ doc.title | jsonify }},
19
+ "excerpt":
20
+ {%- if site.search_full_content == true -%}
21
+ {{ doc.content | newline_to_br |
22
+ replace:"<br />", " " |
23
+ replace:"</p>", " " |
24
+ replace:"</h1>", " " |
25
+ replace:"</h2>", " " |
26
+ replace:"</h3>", " " |
27
+ replace:"</h4>", " " |
28
+ replace:"</h5>", " " |
29
+ replace:"</h6>", " "|
30
+ strip_html | strip_newlines | jsonify }},
31
+ {%- else -%}
32
+ {{ doc.content | newline_to_br |
33
+ replace:"<br />", " " |
34
+ replace:"</p>", " " |
35
+ replace:"</h1>", " " |
36
+ replace:"</h2>", " " |
37
+ replace:"</h3>", " " |
38
+ replace:"</h4>", " " |
39
+ replace:"</h5>", " " |
40
+ replace:"</h6>", " "|
41
+ strip_html | strip_newlines | truncatewords: 50 | jsonify }},
42
+ {%- endif -%}
43
+ "categories": {{ doc.categories | jsonify }},
44
+ "tags": {{ doc.tags | jsonify }},
45
+ "url": {{ doc.url | absolute_url | jsonify }},
46
+ "teaser":
47
+ {%- if teaser contains "://" -%}
48
+ {{ teaser | jsonify }}
49
+ {%- else -%}
50
+ {{ teaser | absolute_url | jsonify }}
51
+ {%- endif -%}
52
+ }{%- unless forloop.last and l -%},{%- endunless -%}
53
+ {%- endfor -%}
54
+ {%- endfor -%}]