Change layout

This commit is contained in:
Maria Rushkova 2021-08-06 12:43:33 +02:00 committed by Jakub Sokołowski
parent 880217e601
commit c2ee656b03
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 17 additions and 29 deletions

View File

@ -52,35 +52,6 @@ layout: default
sm:pb-8
border-b
"
>
<div class="heading-block w-full sm:w-2/12 lg:w-3/12 pr-2 ml:pr-0">
<h2 class="text-sm font-semibold mb-5 text-center sm:text-left">
Research entries
</h2>
</div>
<div class="info-block w-full sm:w-10/12 lg:w-9/12">
<ul class="container s:mx-auto flex-row hidden flex-wrap lg:flex">
{% for post in site.posts %} {% if post.category == "research" %} {%
include post-preview.html %} {% endif %} {% endfor %}
</ul>
<ul
class="
container
s:mx-auto
flex flex-col
sm:flex-row sm:flex-wrap
lg:hidden
"
>
{% for post in site.posts limit:8 %} {% if post.category == "research" %}
{% include post-preview.html %} {% endif %} {% endfor %}
</ul>
</div>
</section>
<section
class="container max-w-screen-xl flex flex-col sm:flex-row pt-10 pb-3 sm:pb-8"
>
<div class="heading-block w-full sm:w-2/12 lg:w-3/12 pr-2 ml:pr-0">
<h2 class="text-sm font-semibold mb-5 text-center sm:text-left">
@ -95,3 +66,20 @@ layout: default
</ul>
</div>
</section>
<section
class="container max-w-screen-xl flex flex-col sm:flex-row pt-10 pb-3 sm:pb-8"
>
<div class="heading-block w-full sm:w-2/12 lg:w-3/12 pr-2 ml:pr-0">
<h2 class="text-sm font-semibold mb-5 text-center sm:text-left">
Research entries
</h2>
</div>
<div class="info-block w-full sm:w-10/12 lg:w-9/12">
<ul class="container s:mx-auto flex flex-col flex-wrap sm:flex-row">
{% for post in site.posts %} {% if post.category == "research" %} {%
include post-preview.html %} {% endif %} {% endfor %}
</ul>
</div>
</section>