mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-27 02:40:32 +00:00
26e3864478
* Add `{{ content }}` to `home` layout Allow the author to add content which will appear above the list of recent posts. This also allows the `home` layout to be extended. Add text to index.html in tests to indicate that the content appears in the correct spot. * Add paragraph markup Since this is a HTML file, proper paragraph markup is needed.
14 lines
265 B
HTML
14 lines
265 B
HTML
---
|
|
layout: archive
|
|
---
|
|
|
|
{{ content }}
|
|
|
|
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
|
|
|
{% for post in paginator.posts %}
|
|
{% include archive-single.html %}
|
|
{% endfor %}
|
|
|
|
{% include paginator.html %}
|