Cleanup homepage
This commit is contained in:
parent
98594c9cd4
commit
8f4b811022
|
|
@ -1,23 +1,14 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
|
||||
<header>
|
||||
<div>
|
||||
<h1>{{ title }}</h1>
|
||||
</header>
|
||||
|
||||
<article>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h2>{{ blog.title }}</h2>
|
||||
<!-- blog intro text is optional. -->
|
||||
{% if blog.intro %}
|
||||
<p>{{ blog.intro }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h2>{{ blog.title }}</h2>
|
||||
|
||||
{% set postslist = collections.posts.slice(0, 4) %} {% include "partials/posts.njk" %}
|
||||
|
||||
{% set postslist = collections.posts.slice(0, 4) %} {% include "partials/posts-light.njk" %}
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in a new issue