update blog
This commit is contained in:
@@ -8,9 +8,17 @@
|
||||
<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 %}
|
||||
<div class="column is-one-third">
|
||||
{% if loop.index0 == 3 %}
|
||||
</div>
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% if page.taxonomies.Tag %}
|
||||
{{ 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) }}
|
||||
|
||||
{% else %}
|
||||
{{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<a class="plus-articles button is-link is-light is-medium has-text-weight-bold" href="{{ blog.permalink }}">
|
||||
@@ -29,8 +37,12 @@
|
||||
{% 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.Tag, date=page.date) }}
|
||||
</div>
|
||||
{% if page.taxonomies.Tag %}
|
||||
{{ macro_card::create_card_note(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) }}
|
||||
{% else %}
|
||||
{{ macro_card::create_card_note(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% set notes = get_section(path="notes/_index.md") %}
|
||||
<a class="overlay has-text-weight-bold" href="{{ notes.permalink }} ">
|
||||
|
||||
Reference in New Issue
Block a user