improve blog
This commit is contained in:
@@ -5,20 +5,18 @@
|
||||
{% block content %}
|
||||
|
||||
|
||||
<div class="columns is-multiline mt-6">
|
||||
<div class="columns is-multiline mt-6">
|
||||
{% set blog = get_section(path="blog/_index.md") %}
|
||||
{% for page in blog.pages %}
|
||||
{% if loop.index0 == 3 %}{% break %}{% endif %}
|
||||
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.tags, date=page.date) }}
|
||||
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<div class="plus-articles">
|
||||
<a href="#" class="title is-4" style="width: 6em; text-align: center;">
|
||||
Plus
|
||||
<a class="plus-articles button is-link is-light is-medium has-text-weight-bold" href="{{ blog.permalink }}">
|
||||
Plus d'articles
|
||||
<i class="computer fas fa-chevron-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<section class="section">
|
||||
@@ -31,15 +29,14 @@
|
||||
{% for page in notes.pages %}
|
||||
<div class="column is-one-fifth ">
|
||||
{% if loop.index0 == 5 %}{% break %}{% endif %}
|
||||
{{ macro_media::create_media(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.tags, date=page.date) }}
|
||||
{{ macro_media::create_media(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="overlay">
|
||||
<a href="#" class="title is-4" style="width: 6em; text-align: center;">
|
||||
{% set notes = get_section(path="notes/_index.md") %}
|
||||
<a class="overlay has-text-weight-bold" href="{{ notes.permalink }} ">
|
||||
Plus
|
||||
<i class="computer fas fa-chevron-right"></i>
|
||||
<i class="computer fas fa-chevron-right" style="padding: 0.25em;"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user