Skip to content
Snippets Groups Projects
Unverified Commit e342cb89 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Reduce number of blog posts on front page

parent ce333c70
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<div class="container">
<h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2>
<div class="columns is-multiline is-same-height mt-4">
{% for post in posts | slice(end=count|default(value=9)) %}
{% for post in posts | slice(end=count|default(value=6)) %}
<div class="column is-one-third">
{% include "blog/card.html" %}
</div>
......
{% set blog_section = get_section(path="blog/_index.md") %}
{% set count = 3 %}
{% include "blog/section.html" %}
<nav class="section pt-0">
<div class="container">
<a href="{{ get_url(path="@/blog/_index.md") }}" class="button is-large is-fullwidth is-link is-rounded">
Mehr aus dem Teckids-Blog
</a>
</div>
</nav>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment