minimal-mistakes-jekyll 4.4.1 → 4.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/LICENSE.txt +20 -20
  4. data/README.md +160 -160
  5. data/_includes/analytics-providers/custom.html +2 -2
  6. data/_includes/analytics-providers/google-universal.html +9 -9
  7. data/_includes/analytics-providers/google.html +10 -10
  8. data/_includes/analytics.html +11 -11
  9. data/_includes/archive-single.html +37 -37
  10. data/_includes/author-profile-custom-links.html +6 -6
  11. data/_includes/author-profile.html +249 -241
  12. data/_includes/base_path +4 -4
  13. data/_includes/breadcrumbs.html +39 -39
  14. data/_includes/browser-upgrade.html +2 -2
  15. data/_includes/category-list.html +25 -25
  16. data/_includes/comment.html +21 -21
  17. data/_includes/comments-providers/custom.html +2 -2
  18. data/_includes/comments-providers/discourse.html +13 -13
  19. data/_includes/comments-providers/disqus.html +21 -21
  20. data/_includes/comments-providers/facebook.html +7 -7
  21. data/_includes/comments-providers/google-plus.html +1 -1
  22. data/_includes/comments-providers/scripts.html +15 -17
  23. data/_includes/comments-providers/staticman.html +41 -41
  24. data/_includes/comments.html +95 -83
  25. data/_includes/feature_row +49 -49
  26. data/_includes/figure +12 -12
  27. data/_includes/footer.html +25 -22
  28. data/_includes/footer/custom.html +2 -2
  29. data/_includes/gallery +46 -46
  30. data/_includes/group-by-array +46 -46
  31. data/_includes/head.html +33 -33
  32. data/_includes/head/custom.html +4 -4
  33. data/_includes/masthead.html +20 -20
  34. data/_includes/nav_list +46 -46
  35. data/_includes/page__hero.html +53 -53
  36. data/_includes/page__hero_video.html +4 -4
  37. data/_includes/page__taxonomy.html +6 -6
  38. data/_includes/paginator.html +69 -69
  39. data/_includes/post_pagination.html +13 -13
  40. data/_includes/read-time.html +14 -14
  41. data/_includes/scripts.html +4 -4
  42. data/_includes/seo.html +147 -147
  43. data/_includes/sidebar.html +22 -22
  44. data/_includes/social-share.html +13 -13
  45. data/_includes/tag-list.html +25 -25
  46. data/_includes/toc +6 -6
  47. data/_includes/video +11 -11
  48. data/_layouts/archive-taxonomy.html +14 -14
  49. data/_layouts/archive.html +25 -25
  50. data/_layouts/compress.html +10 -10
  51. data/_layouts/default.html +34 -34
  52. data/_layouts/home.html +11 -11
  53. data/_layouts/single.html +74 -74
  54. data/_layouts/splash.html +21 -21
  55. data/_sass/minimal-mistakes.scss +39 -39
  56. data/_sass/minimal-mistakes/_animations.scss +20 -20
  57. data/_sass/minimal-mistakes/_archive.scss +237 -237
  58. data/_sass/minimal-mistakes/_base.scss +314 -314
  59. data/_sass/minimal-mistakes/_buttons.scss +152 -152
  60. data/_sass/minimal-mistakes/_footer.scss +79 -79
  61. data/_sass/minimal-mistakes/_forms.scss +390 -390
  62. data/_sass/minimal-mistakes/_masthead.scss +76 -76
  63. data/_sass/minimal-mistakes/_mixins.scss +52 -52
  64. data/_sass/minimal-mistakes/_navigation.scss +551 -558
  65. data/_sass/minimal-mistakes/_notices.scss +98 -98
  66. data/_sass/minimal-mistakes/_page.scss +407 -407
  67. data/_sass/minimal-mistakes/_print.scss +237 -237
  68. data/_sass/minimal-mistakes/_reset.scss +186 -186
  69. data/_sass/minimal-mistakes/_sidebar.scss +230 -230
  70. data/_sass/minimal-mistakes/_syntax.scss +145 -145
  71. data/_sass/minimal-mistakes/_tables.scss +37 -37
  72. data/_sass/minimal-mistakes/_utilities.scss +517 -512
  73. data/_sass/minimal-mistakes/_variables.scss +129 -128
  74. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
  75. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
  76. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
  77. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
  78. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
  79. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
  80. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
  81. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
  82. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
  83. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
  84. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
  85. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
  86. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
  87. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  88. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
  89. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  90. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  91. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
  92. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  93. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
  94. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
  95. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
  96. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
  97. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
  98. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
  99. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
  100. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
  101. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
  102. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
  103. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
  104. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
  105. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
  106. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
  107. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
  108. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
  109. data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -4
  110. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +4 -4
  111. data/_sass/minimal-mistakes/vendor/susy/_susyone.scss +4 -4
  112. data/_sass/minimal-mistakes/vendor/susy/susy/_su.scss +7 -7
  113. data/_sass/minimal-mistakes/vendor/susy/susy/language/_susy.scss +24 -24
  114. data/_sass/minimal-mistakes/vendor/susy/susy/language/_susyone.scss +13 -13
  115. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_background.scss +385 -385
  116. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_bleed.scss +200 -200
  117. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
  118. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
  119. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_container.scss +81 -81
  120. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_context.scss +36 -36
  121. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gallery.scss +94 -94
  122. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_grids.scss +64 -64
  123. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_gutters.scss +154 -154
  124. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_isolate.scss +77 -77
  125. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_margins.scss +94 -94
  126. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_padding.scss +74 -74
  127. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_rows.scss +138 -138
  128. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_settings.scss +216 -216
  129. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_span.scss +163 -163
  130. data/_sass/minimal-mistakes/vendor/susy/susy/language/susy/_validation.scss +16 -16
  131. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_background.scss +18 -18
  132. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_functions.scss +377 -377
  133. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_grid.scss +312 -312
  134. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
  135. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_margin.scss +93 -93
  136. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_media.scss +105 -105
  137. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_padding.scss +92 -92
  138. data/_sass/minimal-mistakes/vendor/susy/susy/language/susyone/_settings.scss +60 -60
  139. data/_sass/minimal-mistakes/vendor/susy/susy/output/_float.scss +9 -9
  140. data/_sass/minimal-mistakes/vendor/susy/susy/output/_shared.scss +15 -15
  141. data/_sass/minimal-mistakes/vendor/susy/susy/output/_support.scss +9 -9
  142. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_container.scss +16 -16
  143. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_end.scss +40 -40
  144. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_isolate.scss +22 -22
  145. data/_sass/minimal-mistakes/vendor/susy/susy/output/float/_span.scss +35 -35
  146. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_background.scss +26 -26
  147. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_container.scss +21 -21
  148. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_direction.scss +42 -42
  149. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_inspect.scss +25 -25
  150. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_margins.scss +23 -23
  151. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_output.scss +14 -14
  152. data/_sass/minimal-mistakes/vendor/susy/susy/output/shared/_padding.scss +23 -23
  153. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_background.scss +58 -58
  154. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
  155. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_clearfix.scss +18 -18
  156. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_prefix.scss +19 -19
  157. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_rem.scss +22 -22
  158. data/_sass/minimal-mistakes/vendor/susy/susy/output/support/_support.scss +85 -85
  159. data/_sass/minimal-mistakes/vendor/susy/susy/su/_grid.scss +103 -103
  160. data/_sass/minimal-mistakes/vendor/susy/susy/su/_settings.scss +73 -73
  161. data/_sass/minimal-mistakes/vendor/susy/susy/su/_utilities.scss +111 -111
  162. data/_sass/minimal-mistakes/vendor/susy/susy/su/_validation.scss +57 -57
  163. data/assets/css/main.scss +6 -6
  164. data/assets/fonts/fontawesome-webfont.svg +2671 -2671
  165. data/assets/js/_main.js +72 -72
  166. data/assets/js/main.min.js +13 -13
  167. data/assets/js/plugins/jquery.fitvids.js +81 -81
  168. data/assets/js/plugins/jquery.greedy-navigation.js +77 -74
  169. data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
  170. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  171. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
  172. metadata +7 -7
@@ -1,4 +1,4 @@
1
- <script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
2
-
3
- {% include analytics.html %}
4
- {% include /comments-providers/scripts.html %}
1
+ <script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
2
+
3
+ {% include analytics.html %}
4
+ {% include /comments-providers/scripts.html %}
data/_includes/seo.html CHANGED
@@ -1,147 +1,147 @@
1
- <!-- begin SEO -->
2
- {% if site.url %}
3
- {% assign seo_url = site.url | append: site.baseurl %}
4
- {% endif %}
5
- {% assign seo_url = seo_url | default: site.github.url %}
6
-
7
- {% if page.title %}
8
- {% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
9
- {% endif %}
10
-
11
- {% if seo_title %}
12
- {% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
13
- {% endif %}
14
-
15
- {% if site.url %}
16
- {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
17
- {% endif %}
18
-
19
- <title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
20
-
21
- {% assign seo_description = page.description | default: page.excerpt | default: site.description %}
22
- {% if seo_description %}
23
- {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
24
- {% endif %}
25
-
26
- <meta name="description" content="{{ seo_description }}">
27
-
28
- {% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
29
- {% if seo_author %}
30
- {% if seo_author.twitter %}
31
- {% assign seo_author_twitter = seo_author.twitter %}
32
- {% else %}
33
- {% if site.data.authors and site.data.authors[seo_author] %}
34
- {% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
35
- {% else %}
36
- {% assign seo_author_twitter = seo_author %}
37
- {% endif %}
38
- {% endif %}
39
- {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
40
- {% endif %}
41
-
42
- <meta name="author" content="{{ seo_author }}">
43
-
44
- <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
45
- <meta property="og:site_name" content="{{ site.title }}">
46
- <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
47
-
48
- {% if seo_url %}
49
- <link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
50
- <meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
51
- {% endif %}
52
-
53
- {% if page.excerpt %}
54
- <meta property="og:description" content="{{ seo_description }}">
55
- {% endif %}
56
-
57
- {% if site.twitter.username %}
58
- <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
59
- <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
60
- <meta name="twitter:description" content="{{ seo_description }}">
61
- <meta name="twitter:url" content="{{ canonical_url }}">
62
-
63
- {% if page.header.image %}
64
- <meta name="twitter:card" content="summary_large_image">
65
- <meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
66
- {% else %}
67
- <meta name="twitter:card" content="summary">
68
- {% if page.header.teaser %}
69
- <meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
70
- {% elsif site.og_image %}
71
- <meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
72
- {% endif %}
73
- {% endif %}
74
-
75
- {% if seo_author_twitter %}
76
- <meta name="twitter:creator" content="@{{ seo_author_twitter }}">
77
- {% endif %}
78
- {% endif %}
79
-
80
- {% if site.facebook %}
81
- {% if site.facebook.publisher %}
82
- <meta property="article:publisher" content="{{ site.facebook.publisher }}">
83
- {% endif %}
84
-
85
- {% if site.facebook.app_id %}
86
- <meta property="fb:app_id" content="{{ site.facebook.app_id }}">
87
- {% endif %}
88
- {% endif %}
89
-
90
- {% if page.header.image %}
91
- <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
92
- {% elsif page.header.overlay_image %}
93
- <meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
94
- {% elsif page.header.teaser %}
95
- <meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
96
- {% elsif site.og_image %}
97
- <meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
98
- {% endif %}
99
-
100
- {% if page.date %}
101
- <meta property="og:type" content="article">
102
- <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
103
- {% endif %}
104
-
105
- {% if paginator.previous_page %}
106
- <link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
107
- {% endif %}
108
- {% if paginator.next_page %}
109
- <link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
110
- {% endif %}
111
-
112
- {% if site.og_image %}
113
- <script type="application/ld+json">
114
- {
115
- "@context": "http://schema.org",
116
- "@type": "Organization",
117
- "url": {{ seo_url | jsonify }},
118
- "logo": {{ site.og_image | absolute_url | jsonify }}
119
- }
120
- </script>
121
- {% endif %}
122
-
123
- {% if site.social %}
124
- <script type="application/ld+json">
125
- {
126
- "@context" : "http://schema.org",
127
- "@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
128
- "name" : "{{ site.social.name | default: site.name }}",
129
- "url" : {{ seo_url | jsonify }},
130
- "sameAs" : {{ site.social.links | jsonify }}
131
- }
132
- </script>
133
- {% endif %}
134
-
135
- {% if site.google_site_verification %}
136
- <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
137
- {% endif %}
138
- {% if site.bing_site_verification %}
139
- <meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
140
- {% endif %}
141
- {% if site.alexa_site_verification %}
142
- <meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
143
- {% endif %}
144
- {% if site.yandex_site_verification %}
145
- <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
146
- {% endif %}
147
- <!-- end SEO -->
1
+ <!-- begin SEO -->
2
+ {% if site.url %}
3
+ {% assign seo_url = site.url | append: site.baseurl %}
4
+ {% endif %}
5
+ {% assign seo_url = seo_url | default: site.github.url %}
6
+
7
+ {% if page.title %}
8
+ {% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
9
+ {% endif %}
10
+
11
+ {% if seo_title %}
12
+ {% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
13
+ {% endif %}
14
+
15
+ {% if site.url %}
16
+ {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
17
+ {% endif %}
18
+
19
+ <title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
20
+
21
+ {% assign seo_description = page.description | default: page.excerpt | default: site.description %}
22
+ {% if seo_description %}
23
+ {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
24
+ {% endif %}
25
+
26
+ <meta name="description" content="{{ seo_description }}">
27
+
28
+ {% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
29
+ {% if seo_author %}
30
+ {% if seo_author.twitter %}
31
+ {% assign seo_author_twitter = seo_author.twitter %}
32
+ {% else %}
33
+ {% if site.data.authors and site.data.authors[seo_author] %}
34
+ {% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
35
+ {% else %}
36
+ {% assign seo_author_twitter = seo_author %}
37
+ {% endif %}
38
+ {% endif %}
39
+ {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
40
+ {% endif %}
41
+
42
+ <meta name="author" content="{{ seo_author }}">
43
+
44
+ <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
45
+ <meta property="og:site_name" content="{{ site.title }}">
46
+ <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
47
+
48
+ {% if seo_url %}
49
+ <link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
50
+ <meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
51
+ {% endif %}
52
+
53
+ {% if page.excerpt %}
54
+ <meta property="og:description" content="{{ seo_description }}">
55
+ {% endif %}
56
+
57
+ {% if site.twitter.username %}
58
+ <meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
59
+ <meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
60
+ <meta name="twitter:description" content="{{ seo_description }}">
61
+ <meta name="twitter:url" content="{{ canonical_url }}">
62
+
63
+ {% if page.header.image %}
64
+ <meta name="twitter:card" content="summary_large_image">
65
+ <meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
66
+ {% else %}
67
+ <meta name="twitter:card" content="summary">
68
+ {% if page.header.teaser %}
69
+ <meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
70
+ {% elsif site.og_image %}
71
+ <meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
72
+ {% endif %}
73
+ {% endif %}
74
+
75
+ {% if seo_author_twitter %}
76
+ <meta name="twitter:creator" content="@{{ seo_author_twitter }}">
77
+ {% endif %}
78
+ {% endif %}
79
+
80
+ {% if site.facebook %}
81
+ {% if site.facebook.publisher %}
82
+ <meta property="article:publisher" content="{{ site.facebook.publisher }}">
83
+ {% endif %}
84
+
85
+ {% if site.facebook.app_id %}
86
+ <meta property="fb:app_id" content="{{ site.facebook.app_id }}">
87
+ {% endif %}
88
+ {% endif %}
89
+
90
+ {% if page.header.image %}
91
+ <meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
92
+ {% elsif page.header.overlay_image %}
93
+ <meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
94
+ {% elsif page.header.teaser %}
95
+ <meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
96
+ {% elsif site.og_image %}
97
+ <meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
98
+ {% endif %}
99
+
100
+ {% if page.date %}
101
+ <meta property="og:type" content="article">
102
+ <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
103
+ {% endif %}
104
+
105
+ {% if paginator.previous_page %}
106
+ <link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
107
+ {% endif %}
108
+ {% if paginator.next_page %}
109
+ <link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
110
+ {% endif %}
111
+
112
+ {% if site.og_image %}
113
+ <script type="application/ld+json">
114
+ {
115
+ "@context": "http://schema.org",
116
+ "@type": "Organization",
117
+ "url": {{ seo_url | jsonify }},
118
+ "logo": {{ site.og_image | absolute_url | jsonify }}
119
+ }
120
+ </script>
121
+ {% endif %}
122
+
123
+ {% if site.social %}
124
+ <script type="application/ld+json">
125
+ {
126
+ "@context" : "http://schema.org",
127
+ "@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
128
+ "name" : "{{ site.social.name | default: site.name }}",
129
+ "url" : {{ seo_url | jsonify }},
130
+ "sameAs" : {{ site.social.links | jsonify }}
131
+ }
132
+ </script>
133
+ {% endif %}
134
+
135
+ {% if site.google_site_verification %}
136
+ <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
137
+ {% endif %}
138
+ {% if site.bing_site_verification %}
139
+ <meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
140
+ {% endif %}
141
+ {% if site.alexa_site_verification %}
142
+ <meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
143
+ {% endif %}
144
+ {% if site.yandex_site_verification %}
145
+ <meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
146
+ {% endif %}
147
+ <!-- end SEO -->
@@ -1,23 +1,23 @@
1
- {% if page.author_profile or layout.author_profile or page.sidebar %}
2
- <div class="sidebar sticky">
3
- {% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
4
- {% if page.sidebar %}
5
- {% for s in page.sidebar %}
6
- {% if s.image %}
7
- <img src=
8
- {% if s.image contains "://" %}
9
- "{{ s.image }}"
10
- {% else %}
11
- "{{ s.image | absolute_url }}"
12
- {% endif %}
13
- alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
14
- {% endif %}
15
- {% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
16
- {% if s.text %}{{ s.text | markdownify }}{% endif %}
17
- {% endfor %}
18
- {% if page.sidebar.nav %}
19
- {% include nav_list nav=page.sidebar.nav %}
20
- {% endif %}
21
- {% endif %}
22
- </div>
1
+ {% if page.author_profile or layout.author_profile or page.sidebar %}
2
+ <div class="sidebar sticky">
3
+ {% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
4
+ {% if page.sidebar %}
5
+ {% for s in page.sidebar %}
6
+ {% if s.image %}
7
+ <img src=
8
+ {% if s.image contains "://" %}
9
+ "{{ s.image }}"
10
+ {% else %}
11
+ "{{ s.image | absolute_url }}"
12
+ {% endif %}
13
+ alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
14
+ {% endif %}
15
+ {% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
16
+ {% if s.text %}{{ s.text | markdownify }}{% endif %}
17
+ {% endfor %}
18
+ {% if page.sidebar.nav %}
19
+ {% include nav_list nav=page.sidebar.nav %}
20
+ {% endif %}
21
+ {% endif %}
22
+ </div>
23
23
  {% endif %}
@@ -1,13 +1,13 @@
1
- <section class="page__share">
2
- {% if site.data.ui-text[site.locale].share_on_label %}
3
- <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
- {% endif %}
5
-
6
- <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
7
-
8
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
9
-
10
- <a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
11
-
12
- <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
13
- </section>
1
+ <section class="page__share">
2
+ {% if site.data.ui-text[site.locale].share_on_label %}
3
+ <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
4
+ {% endif %}
5
+
6
+ <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
7
+
8
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
9
+
10
+ <a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
11
+
12
+ <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
13
+ </section>
@@ -1,26 +1,26 @@
1
- {% case site.tag_archive.type %}
2
- {% when "liquid" %}
3
- {% assign path_type = "#" %}
4
- {% when "jekyll-archives" %}
5
- {% assign path_type = nil %}
6
- {% endcase %}
7
-
8
- {% if site.tag_archive.path %}
9
- {% comment %}
10
- <!-- Sort alphabetically regardless of case e.g. a B c d E -->
11
- <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
12
- {% endcomment %}
13
- {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
14
- {% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
15
-
16
- <p class="page__taxonomy">
17
- <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
18
- <span itemprop="keywords">
19
- {% for hash in tag_hashes %}
20
- {% assign keyValue = hash | split: '#' %}
21
- {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
22
- <a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
23
- {% endfor %}
24
- </span>
25
- </p>
1
+ {% case site.tag_archive.type %}
2
+ {% when "liquid" %}
3
+ {% assign path_type = "#" %}
4
+ {% when "jekyll-archives" %}
5
+ {% assign path_type = nil %}
6
+ {% endcase %}
7
+
8
+ {% if site.tag_archive.path %}
9
+ {% comment %}
10
+ <!-- Sort alphabetically regardless of case e.g. a B c d E -->
11
+ <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
12
+ {% endcomment %}
13
+ {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
14
+ {% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
15
+
16
+ <p class="page__taxonomy">
17
+ <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
18
+ <span itemprop="keywords">
19
+ {% for hash in tag_hashes %}
20
+ {% assign keyValue = hash | split: '#' %}
21
+ {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
22
+ <a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
23
+ {% endfor %}
24
+ </span>
25
+ </p>
26
26
  {% endif %}
data/_includes/toc CHANGED
@@ -1,7 +1,7 @@
1
- <aside class="sidebar__right">
2
- <nav class="toc" markdown="1">
3
- <header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
4
- * Auto generated table of contents
5
- {:toc .toc__menu}
6
- </nav>
1
+ <aside class="sidebar__right">
2
+ <nav class="toc" markdown="1">
3
+ <header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
4
+ * Auto generated table of contents
5
+ {:toc .toc__menu}
6
+ </nav>
7
7
  </aside>
data/_includes/video CHANGED
@@ -1,11 +1,11 @@
1
- {% capture video_id %}{{ include.id }}{% endcapture %}
2
- {% capture video_provider %}{{ include.provider }}{% endcapture %}
3
-
4
- <!-- Courtesy of embedresponsively.com //-->
5
- <div class="responsive-video-container">
6
- {% if video_provider == "vimeo" %}
7
- <iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
8
- {% elsif video_provider == "youtube" %}
9
- <iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
10
- {% endif %}
11
- </div>
1
+ {% capture video_id %}{{ include.id }}{% endcapture %}
2
+ {% capture video_provider %}{{ include.provider }}{% endcapture %}
3
+
4
+ <!-- Courtesy of embedresponsively.com //-->
5
+ <div class="responsive-video-container">
6
+ {% if video_provider == "vimeo" %}
7
+ <iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
8
+ {% elsif video_provider == "youtube" %}
9
+ <iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
10
+ {% endif %}
11
+ </div>