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

Harmonise front page blocks and titles

parent 2b9181cd
No related branches found
No related tags found
No related merge requests found
{% set blog_section = get_section(path="blog/_index.md") %} {% set blog_section = get_section(path="blog/_index.md") %}
<aside class="section"> <section class="section">
<h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2> <div class="container">
<div class="columns is-multiline is-same-height"> <h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2>
{% for post in blog_section.pages | slice(end=4) %} <div class="columns is-multiline is-same-height">
<div class="column is-one-quarter"> {% for post in blog_section.pages | slice(end=4) %}
<div class="card"> <div class="column is-one-quarter">
<div class="card-image"> <div class="card">
<figure class="image is-4by3"> <div class="card-image">
<img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" /> <figure class="image is-4by3">
</figure> <img src="{{ get_url(path="@/" ~ post.relative_path, trailing_slash=true) }}{{ post.extra.depiction.image | safe }}" alt="{{ post.extra.depiction.alt }}" />
</div> </figure>
<div class="card-content"> </div>
<h3 class="title is-3">{{ post.title }}</h3> <div class="card-content">
<div class="content"> <h3 class="title is-3">{{ post.title }}</h3>
{{ post.summary | safe }} <div class="content">
{{ post.summary | safe }}
</div>
</div> </div>
</div> </div>
</div> </div>
</div> {% endfor %}
{% endfor %} </div>
</div> </div>
</aside> </section>
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
> >
<div class="hero-body"> <div class="hero-body">
<div class="container"> <div class="container">
<div class="columns is-centered is-half mb-6"> <p class="title is-1 has-text-centered">{{ section.extra.headlines.claims }}</p>
<h1 class="title is-1">{{ section.extra.headlines.claims }}</h1>
</div>
<div class="columns "> <div class="columns ">
{% for claim in section.extra.claims %} {% for claim in section.extra.claims %}
<div class="column is-one-third"> <div class="column is-one-third">
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<div class="columns is-centered is-half"> <h2 class="title is-2">{{ section.extra.headlines.projects }}</h2>
<h2 class="title is-2">{{ section.extra.headlines.projects }}</h2>
</div>
<div class="columns"> <div class="columns">
{% for project_section_path in projects_section.subsections %} {% for project_section_path in projects_section.subsections %}
{% set project_section = get_section(path=project_section_path) %} {% set project_section = get_section(path=project_section_path) %}
......
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