diff --git a/templates/frontpage/blocks/blog.html b/templates/frontpage/blocks/blog.html index 11cde285c41a2dd101fa24530d3c04b3b409192c..64684d65bafed3059870dbf9d8970de11b5543dc 100644 --- a/templates/frontpage/blocks/blog.html +++ b/templates/frontpage/blocks/blog.html @@ -1,23 +1,25 @@ {% set blog_section = get_section(path="blog/_index.md") %} -<aside class="section"> - <h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2> - <div class="columns is-multiline is-same-height"> - {% for post in blog_section.pages | slice(end=4) %} - <div class="column is-one-quarter"> - <div class="card"> - <div class="card-image"> - <figure class="image is-4by3"> - <img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /> - </figure> - </div> - <div class="card-content"> - <h3 class="title is-3">{{ post.title }}</h3> - <div class="content"> - {{ post.summary | safe }} +<section class="section"> + <div class="container"> + <h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2> + <div class="columns is-multiline is-same-height"> + {% for post in blog_section.pages | slice(end=4) %} + <div class="column is-one-quarter"> + <div class="card"> + <div class="card-image"> + <figure class="image is-4by3"> + <img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /> + </figure> + </div> + <div class="card-content"> + <h3 class="title is-3">{{ post.title }}</h3> + <div class="content"> + {{ post.summary | safe }} + </div> </div> </div> </div> - </div> - {% endfor %} + {% endfor %} + </div> </div> -</aside> +</section> diff --git a/templates/frontpage/blocks/claim.html b/templates/frontpage/blocks/claim.html index 2ad05d29cb89eb293788b0682636771a1aa64afd..95cb0b9ad9cccc94a932ade09676c1b78f1d00a4 100644 --- a/templates/frontpage/blocks/claim.html +++ b/templates/frontpage/blocks/claim.html @@ -4,9 +4,7 @@ > <div class="hero-body"> <div class="container"> - <div class="columns is-centered is-half mb-6"> - <h1 class="title is-1">{{ section.extra.headlines.claims }}</h1> - </div> + <p class="title is-1 has-text-centered">{{ section.extra.headlines.claims }}</p> <div class="columns "> {% for claim in section.extra.claims %} <div class="column is-one-third"> diff --git a/templates/frontpage/blocks/projects.html b/templates/frontpage/blocks/projects.html index 79438638681acb0fef91699afd4e2fab1428bc2b..29750db9c5d6ce9a840107791ca8e19431f756ab 100644 --- a/templates/frontpage/blocks/projects.html +++ b/templates/frontpage/blocks/projects.html @@ -2,9 +2,7 @@ <section class="section"> <div class="container"> - <div class="columns is-centered is-half"> - <h2 class="title is-2">{{ section.extra.headlines.projects }}</h2> - </div> + <h2 class="title is-2">{{ section.extra.headlines.projects }}</h2> <div class="columns"> {% for project_section_path in projects_section.subsections %} {% set project_section = get_section(path=project_section_path) %}