minimal-mistakes-jekyll 4.19.0 → 4.20.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,16 +17,14 @@
17
17
  <img src="{{ teaser | relative_url }}" alt="">
18
18
  </div>
19
19
  {% endif %}
20
- <h2 class="archive__item-title" itemprop="headline">
20
+ <h2 class="archive__item-title no_toc" itemprop="headline">
21
21
  {% if post.link %}
22
22
  <a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
23
23
  {% else %}
24
24
  <a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
25
25
  {% endif %}
26
26
  </h2>
27
- {% if post.read_time %}
28
- <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
29
- {% endif %}
27
+ {% include post__meta.html type=include.type %}
30
28
  {% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
31
29
  </article>
32
30
  </div>
@@ -17,7 +17,7 @@
17
17
 
18
18
  <div class="author__content">
19
19
  {% if author.home %}
20
- <a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
20
+ <a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
21
21
  {% else %}
22
22
  <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
23
23
  {% endif %}
@@ -40,7 +40,7 @@
40
40
  {% if author.links %}
41
41
  {% for link in author.links %}
42
42
  {% if link.label and link.url %}
43
- <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
43
+ <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
44
44
  {% endif %}
45
45
  {% endfor %}
46
46
  {% endif %}
@@ -48,7 +48,7 @@
48
48
  {% if author.uri %}
49
49
  <li>
50
50
  <a href="{{ author.uri }}" itemprop="url">
51
- <i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
51
+ <i class="fas fa-fw fa-link" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</span>
52
52
  </a>
53
53
  </li>
54
54
  {% endif %}
@@ -57,7 +57,7 @@
57
57
  <li>
58
58
  <a href="mailto:{{ author.email }}">
59
59
  <meta itemprop="email" content="{{ author.email }}" />
60
- <i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
60
+ <i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
61
61
  </a>
62
62
  </li>
63
63
  {% endif %}
@@ -65,7 +65,7 @@
65
65
  {% if author.keybase %}
66
66
  <li>
67
67
  <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
68
- <i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
68
+ <i class="fas fa-fw fa-key" aria-hidden="true"></i><span class="label">Keybase</span>
69
69
  </a>
70
70
  </li>
71
71
  {% endif %}
@@ -73,7 +73,7 @@
73
73
  {% if author.twitter %}
74
74
  <li>
75
75
  <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
76
- <i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
76
+ <i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
77
77
  </a>
78
78
  </li>
79
79
  {% endif %}
@@ -81,7 +81,7 @@
81
81
  {% if author.facebook %}
82
82
  <li>
83
83
  <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
84
- <i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
84
+ <i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
85
85
  </a>
86
86
  </li>
87
87
  {% endif %}
@@ -89,7 +89,7 @@
89
89
  {% if author.linkedin %}
90
90
  <li>
91
91
  <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
92
- <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
92
+ <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
93
93
  </a>
94
94
  </li>
95
95
  {% endif %}
@@ -97,7 +97,7 @@
97
97
  {% if author.xing %}
98
98
  <li>
99
99
  <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
100
- <i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
100
+ <i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
101
101
  </a>
102
102
  </li>
103
103
  {% endif %}
@@ -105,7 +105,7 @@
105
105
  {% if author.instagram %}
106
106
  <li>
107
107
  <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
108
- <i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
108
+ <i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
109
109
  </a>
110
110
  </li>
111
111
  {% endif %}
@@ -113,7 +113,7 @@
113
113
  {% if author.tumblr %}
114
114
  <li>
115
115
  <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
116
- <i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
116
+ <i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
117
117
  </a>
118
118
  </li>
119
119
  {% endif %}
@@ -121,7 +121,7 @@
121
121
  {% if author.bitbucket %}
122
122
  <li>
123
123
  <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
124
- <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
124
+ <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
125
125
  </a>
126
126
  </li>
127
127
  {% endif %}
@@ -129,7 +129,7 @@
129
129
  {% if author.github %}
130
130
  <li>
131
131
  <a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
132
- <i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
132
+ <i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
133
133
  </a>
134
134
  </li>
135
135
  {% endif %}
@@ -137,7 +137,7 @@
137
137
  {% if author.gitlab %}
138
138
  <li>
139
139
  <a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
140
- <i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
140
+ <i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
141
141
  </a>
142
142
  </li>
143
143
  {% endif %}
@@ -145,7 +145,7 @@
145
145
  {% if author.stackoverflow %}
146
146
  <li>
147
147
  <a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
148
- <i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
148
+ <i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
149
149
  </a>
150
150
  </li>
151
151
  {% endif %}
@@ -153,7 +153,7 @@
153
153
  {% if author.lastfm %}
154
154
  <li>
155
155
  <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
156
- <i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
156
+ <i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
157
157
  </a>
158
158
  </li>
159
159
  {% endif %}
@@ -161,7 +161,7 @@
161
161
  {% if author.dribbble %}
162
162
  <li>
163
163
  <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
164
- <i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
164
+ <i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
165
165
  </a>
166
166
  </li>
167
167
  {% endif %}
@@ -169,7 +169,7 @@
169
169
  {% if author.pinterest %}
170
170
  <li>
171
171
  <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
172
- <i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
172
+ <i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
173
173
  </a>
174
174
  </li>
175
175
  {% endif %}
@@ -177,7 +177,7 @@
177
177
  {% if author.foursquare %}
178
178
  <li>
179
179
  <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
180
- <i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
180
+ <i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
181
181
  </a>
182
182
  </li>
183
183
  {% endif %}
@@ -185,7 +185,7 @@
185
185
  {% if author.steam %}
186
186
  <li>
187
187
  <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
188
- <i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
188
+ <i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
189
189
  </a>
190
190
  </li>
191
191
  {% endif %}
@@ -194,13 +194,13 @@
194
194
  {% if author.youtube contains "://" %}
195
195
  <li>
196
196
  <a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
197
- <i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
197
+ <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
198
198
  </a>
199
199
  </li>
200
200
  {% elsif author.youtube %}
201
201
  <li>
202
202
  <a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
203
- <i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
203
+ <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
204
204
  </a>
205
205
  </li>
206
206
  {% endif %}
@@ -209,7 +209,7 @@
209
209
  {% if author.soundcloud %}
210
210
  <li>
211
211
  <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
212
- <i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
212
+ <i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
213
213
  </a>
214
214
  </li>
215
215
  {% endif %}
@@ -217,7 +217,7 @@
217
217
  {% if author.weibo %}
218
218
  <li>
219
219
  <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
220
- <i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
220
+ <i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
221
221
  </a>
222
222
  </li>
223
223
  {% endif %}
@@ -225,7 +225,7 @@
225
225
  {% if author.flickr %}
226
226
  <li>
227
227
  <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
228
- <i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
228
+ <i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
229
229
  </a>
230
230
  </li>
231
231
  {% endif %}
@@ -233,7 +233,7 @@
233
233
  {% if author.codepen %}
234
234
  <li>
235
235
  <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
236
- <i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
236
+ <i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
237
237
  </a>
238
238
  </li>
239
239
  {% endif %}
@@ -241,7 +241,7 @@
241
241
  {% if author.vine %}
242
242
  <li>
243
243
  <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
244
- <i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
244
+ <i class="fab fa-fw fa-vine" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
245
245
  </a>
246
246
  </li>
247
247
  {% endif %}
@@ -0,0 +1,3 @@
1
+ <!-- start custom comments scripts -->
2
+
3
+ <!-- end custom comments scripts -->
@@ -13,6 +13,6 @@
13
13
  {% when "utterances" %}
14
14
  {% include /comments-providers/utterances.html %}
15
15
  {% when "custom" %}
16
- {% include /comments-providers/custom.html %}
16
+ {% include /comments-providers/custom_scripts.html %}
17
17
  {% endcase %}
18
18
  {% endif %}
@@ -154,6 +154,6 @@
154
154
  <h4 class="page__comments-title">{{ comments_label }}</h4>
155
155
  <section id="utterances-comments"></section>
156
156
  {% when "custom" %}
157
- <section id="custom-comments"></section>
157
+ {% include /comments-providers/custom.html %}
158
158
  {% endcase %}
159
159
  </div>
@@ -13,6 +13,7 @@
13
13
 
14
14
  <!-- For all browsers -->
15
15
  <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
16
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
16
17
 
17
18
  <!--[if IE]>
18
19
  <style>
@@ -0,0 +1,5 @@
1
+ {% if page.last_modified_at %}
2
+ <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>
3
+ {% elsif page.date %}
4
+ <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>
5
+ {% endif %}
@@ -31,9 +31,7 @@
31
31
  {% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
32
32
  <p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
33
33
  {% endif %}
34
- {% if page.read_time %}
35
- <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
36
- {% endif %}
34
+ {% include post__meta.html %}
37
35
  {% if page.header.cta_url %}
38
36
  <p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
39
37
  {% endif %}
@@ -1,4 +1,2 @@
1
- {% capture video_id %}{{ page.header.video.id }}{% endcapture %}
2
- {% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
3
-
4
- {% include video id=video_id provider=video_provider %}
1
+ {% assign video = page.header.video %}
2
+ {% include video id=video.id provider=video.provider danmaku=video.danmaku %}
@@ -1,6 +1,6 @@
1
1
  {% if paginator.total_pages > 1 %}
2
2
  <nav class="pagination">
3
- {% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
3
+ {% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
4
4
  <ul>
5
5
  {% comment %} Link for previous page {% endcomment %}
6
6
  {% if paginator.previous_page %}
@@ -0,0 +1,35 @@
1
+ {% assign page = post | default: page %}
2
+
3
+ {% if page.read_time or page.show_date %}
4
+ <p class="page__meta">
5
+
6
+ {% if page.show_date %}
7
+ {% assign date = page.date %}
8
+ <i class="far {% if include.type == 'grid' and page.read_time and page.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
9
+ <time datetime="{{ date | date_to_xmlschema }}">{{ date | date: "%B %-d, %Y" }}</time>
10
+ {% endif %}
11
+
12
+ {% if page.read_time and page.show_date %}
13
+ {% if include.type == "grid" %}
14
+ <br \>
15
+ {% else %}
16
+ <span class="post__meta-sep"></span>
17
+ {% endif %}
18
+ {% endif %}
19
+
20
+ {% if page.read_time %}
21
+ {% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
22
+ {% assign words = page.content | strip_html | number_of_words %}
23
+
24
+ <i class="far {% if include.type == 'grid' and page.read_time and page.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
25
+ {% if words < words_per_minute %}
26
+ {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
27
+ {% elsif words == words_per_minute %}
28
+ 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
29
+ {% else %}
30
+ {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
31
+ {% endif %}
32
+ {% endif %}
33
+
34
+ </p>
35
+ {% endif %}
@@ -4,7 +4,6 @@
4
4
  {% endfor %}
5
5
  {% else %}
6
6
  <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
7
- <script src="https://kit.fontawesome.com/4eee35f757.js"></script>
8
7
  {% endif %}
9
8
 
10
9
  {% if site.search == true or page.layout == "search" %}
@@ -44,11 +44,18 @@ search.addWidget(
44
44
  instantsearch.widgets.hits({
45
45
  container: '.search-hits',
46
46
  templates: {
47
- item: hitTemplate
47
+ item: hitTemplate,
48
+ empty: '{{ site.data.ui-text[site.locale].search_algolia_no_results | default: "No results" }}',
48
49
  }
49
50
  })
50
51
  );
51
52
 
52
- // Starting the search
53
- search.start();
53
+ // Starting the search only when toggle is clicked
54
+ $(document).ready(function () {
55
+ $(".search__toggle").on("click", function() {
56
+ if(!search.started) {
57
+ search.start();
58
+ }
59
+ });
60
+ });
54
61
  </script>
@@ -22,7 +22,7 @@
22
22
 
23
23
  {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
24
24
  {%- if seo_description -%}
25
- {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once -%}
25
+ {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
26
26
  {%- endif -%}
27
27
 
28
28
  {%- assign author = page.author | default: page.authors[0] | default: site.author -%}
@@ -1,13 +1,24 @@
1
1
  {% capture video_id %}{{ include.id }}{% endcapture %}
2
2
  {% capture video_provider %}{{ include.provider }}{% endcapture %}
3
+ {% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
4
+
5
+ {% capture video_src %}
6
+ {% case video_provider %}
7
+ {% when "vimeo" %}
8
+ https://player.vimeo.com/video/{{ video_id }}?dnt=true
9
+ {% when "youtube" %}
10
+ https://www.youtube-nocookie.com/embed/{{ video_id }}
11
+ {% when "google-drive" %}
12
+ https://drive.google.com/file/d/{{ video_id }}/preview
13
+ {% when "bilibili" %}
14
+ https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
15
+ {% endcase %}
16
+ {% endcapture %}
17
+ {% assign video_src = video_src | strip %}
3
18
 
4
19
  <!-- 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 }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
8
- {% elsif video_provider == "youtube" %}
9
- <iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
10
- {% elsif video_provider == "google-drive" %}
11
- <iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
12
- {% endif %}
13
- </div>
20
+ {% unless video_src == "" %}
21
+ <div class="responsive-video-container">
22
+ <iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
23
+ </div>
24
+ {% endunless %}
@@ -3,7 +3,7 @@
3
3
 
4
4
  <!doctype html>
5
5
  <!--
6
- Minimal Mistakes Jekyll Theme 4.19.0 by Michael Rose
6
+ Minimal Mistakes Jekyll Theme 4.20.1 by Michael Rose
7
7
  Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
8
8
  Free for personal and commercial use under the MIT license
9
9
  https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
@@ -12,8 +12,11 @@ layout: archive
12
12
  {% assign posts = site.posts %}
13
13
  {% endif %}
14
14
 
15
- {% for post in posts %}
16
- {% include archive-single.html %}
17
- {% endfor %}
15
+ {% assign entries_layout = page.entries_layout | default: 'list' %}
16
+ <div class="entries-{{ entries_layout }}">
17
+ {% for post in posts %}
18
+ {% include archive-single.html type=entries_layout %}
19
+ {% endfor %}
20
+ </div>
18
21
 
19
22
  {% include paginator.html %}