Added proper heading to 'Aktuelles' page.

This commit is contained in:
Stephan 2021-04-11 10:10:01 +02:00
parent fd83541bf9
commit 061b17810b
3 changed files with 22 additions and 7 deletions

View File

@ -593,6 +593,11 @@ hr.-even {
justify-content: center;
}
.content.-no_pad {
padding: 0;
margin-top: -1.5rem;
}
.content__blog_link.-odd {
color: var(--wtf-nearly-black) !important;
}
@ -622,7 +627,7 @@ hr.-even {
.content__aggregate_box {
flex-wrap: wrap;
justify-content: space-around;
justify-content: space-between;
}
.content__inner_half_box {
@ -634,7 +639,7 @@ hr.-even {
}
.content__inner_aggregate_box {
margin: 1.5rem 0.5rem;
margin: 1.5rem 1.5rem;
flex-basis: 40%;
min-width: 300px;
}
@ -748,10 +753,7 @@ hr.-even {
.content__box a:visited,
.pagination__anchor:visited,
.content__half_box a:visited {
color: var(--wtf-dark-blue);
}
.content__half_box a:visited,
.pagination__anchor.-even:visited {
color: var(--wtf-light-blue);
}

View File

@ -2,4 +2,4 @@ _model: aggregator_page
---
title: Aktuelles
---
body: Aktuelle Inhalte findest Du im [Blog](/blog) und im [Podcast](/podcast).
body: Die neusten Blogposts und Podcastepisoden siehst Du hier, die vollständige Historie findest Du unter [Blog](/blog) und [Podcast](/podcast).

View File

@ -8,7 +8,20 @@
{%- endif -%}
{%- endblock -%}
{% block body %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
<section class="content -odd">
<div class="content__box">
<div class="content__inner_box">
{{ this.body }}
</div>
</div>
</section>
<section class="content -no_pad">
{% set blog_posts = site.get('/blog').children.order_by('-pub_date').limit(3) %}
<div class="content__aggregate_box">
{% for post in blog_posts %}