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

View File

@ -2,4 +2,4 @@ _model: aggregator_page
--- ---
title: Aktuelles 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 -%} {%- endif -%}
{%- endblock -%} {%- endblock -%}
{% block body %} {% block body %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
<section class="content -odd"> <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) %} {% set blog_posts = site.get('/blog').children.order_by('-pub_date').limit(3) %}
<div class="content__aggregate_box"> <div class="content__aggregate_box">
{% for post in blog_posts %} {% for post in blog_posts %}