M _layouts/home.html => _layouts/home.html +5 -3
@@ 12,8 12,10 @@ layout: archive
{% assign posts = site.posts %}
{% endif %}
-{% for post in posts %}
- {% include archive-single.html %}
-{% endfor %}
+<div class="entries-{{ page.entries_layout | default: 'list' }}">
+ {% for post in posts %}
+ {% include archive-single.html type=page.entries_layout %}
+ {% endfor %}
+</div>
{% include paginator.html %}
M _sass/minimal-mistakes/_archive.scss => _sass/minimal-mistakes/_archive.scss +1 -1
@@ 32,7 32,7 @@
}
.archive__subtitle {
- margin: 1.414em 0 0;
+ margin: 1.414em 0 0.5em;
padding-bottom: 0.5em;
font-size: $type-size-5;
color: $muted-text-color;