1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-22 09:36:52 +01:00

reduced front page

This commit is contained in:
Matthias Kretschmann 2018-09-28 16:04:27 +02:00
parent f24bb443ad
commit a1c1949134
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -6,16 +6,16 @@ front_page: true
css: page-front css: page-front
redirect_from: redirect_from:
- /foundation/ - /foundation/
- /foundation/articles/ - /foundation/articles/
- /foundation/satzung/ - /foundation/satzung/
- /foundation/bylaws/ - /foundation/bylaws/
- /docs/ - /docs/
- /jobs/ - /jobs/
- /privacy/ - /privacy/
- /terms/ - /terms/
- /faq/ - /faq/
- /canary/ - /canary/
--- ---
{% assign content = site.data.content-front %} {% assign content = site.data.content-front %}
@ -64,7 +64,7 @@ redirect_from:
</header> </header>
<section class="section section--farewell section--background" id="farewell"> <!-- <section class="section section--farewell section--background" id="farewell">
<div class="row row--narrow"> <div class="row row--narrow">
<header class="section__header"> <header class="section__header">
<h1 class="section__title">{{ content.farewell.title }}</h1> <h1 class="section__title">{{ content.farewell.title }}</h1>
@ -75,7 +75,7 @@ redirect_from:
</div> </div>
</div> </div>
</section> </section> -->
<section class="section section--connect"> <section class="section section--connect">
<div class="row"> <div class="row">
@ -83,12 +83,12 @@ redirect_from:
<div class="articles"> <div class="articles">
<div class="grid grid--full grid-small--half grid-medium--fourth grid--gutters"> <div class="grid grid--full grid-small--half grid-medium--fourth grid--gutters">
{% for article in site.articles limit: 4 %} {% for article in site.articles limit: 4 %}
<div class="grid__col"> <div class="grid__col">
<a class="article" href="{{ article.link }}"> <a class="article" href="{{ article.link }}">
<figure class="article__image" style="background-image: url('{{ article.image | escape | strip_html }}')"></figure> <figure class="article__image" style="background-image: url('{{ article.image | escape | strip_html }}')"></figure>
<h1 class="article__title">{{ article.title }}</h1> <h1 class="article__title">{{ article.title }}</h1>
</a> </a>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>