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 layout: base
--- ---
<div>
<header>
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
</header>
<article>
{{ content | safe }} {{ content | safe }}
</article> </div>
<article> <article>
<h2>{{ blog.title }}</h2> <h2>{{ blog.title }}</h2>
<!-- blog intro text is optional. -->
{% if blog.intro %}
<p>{{ blog.intro }}</p>
{% endif %}
</div>
{% set postslist = collections.posts.slice(0, 4) %} {% include "partials/posts.njk" %} {% set postslist = collections.posts.slice(0, 4) %} {% include "partials/posts-light.njk" %}
</article> </article>