Cleanup homepage

This commit is contained in:
TheThomaas 2023-11-23 22:09:56 +01:00
parent 98594c9cd4
commit 8f4b811022

View file

@ -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>