{%- assign _excerpt_truncate = include.excerpt_truncate | default: 350 -%} {%- assign _excerpt_type = include.excerpt_type -%} {%- include snippets/get-locale-string.html key='READMORE' -%} {%- assign _locale_readmore = __return -%} {%- assign _sorted_list = include.articles | sort: 'modif' -%} {%- assign _sorted_list = _sorted_list | reverse -%} {%- if include.type == 'item' -%}
{%- elsif include.type == 'brief' -%}
{%- elsif include.type == 'grid' -%} {%- if include.size == 'sm' -%}
{%- else -%}
{%- endif -%} {%- endif -%} {%- for _article in _sorted_list -%} {%- include snippets/prepend-baseurl.html path=_article.url -%} {%- assign _article_url = __return -%} {%- if _article.cover -%} {%- include snippets/get-nav-url.html path=_article.cover -%} {%- assign _article_cover = __return -%} {%- endif -%} {%- if include.type == 'item' -%} {%- if include.article_type == 'BlogPosting' -%}
{%- else -%}
{%- endif -%} {%- if _article.cover and include.show_cover-%} {%- include snippets/get-nav-url.html path=_article.cover -%} {%- assign _article_cover = __return -%}
{%- if include.cover_size == 'lg' -%} {%- elsif include.cover_size == 'sm' -%} {%- else -%} {%- endif -%}
{%- endif -%}

{{ _article.title }}

{%- if _article.excerpt and include.show_excerpt -%}
{%- if _excerpt_type == 'html' -%} {{ _article.excerpt }} {%- else -%} {{ _article.excerpt | strip_html | strip | truncate: _excerpt_truncate }} {%- endif -%}
{%- endif -%} {%- if include.show_readmore -%}

{{ _locale_readmore }}

{%- endif -%}
{%- if include.show_info -%} {%- include snippets/assign.html target=site.data.variables.default.page.pageview source0=_article.pageview -%} {%- assign _show_pageview = __return -%} {%- include article-info.html article=_article show_pageview=_show_pageview -%} {%- endif -%}
{%- elsif include.type == 'brief' -%} {%- assign _tags = '' -%} {%- for _tag in _article.tags -%} {%- assign _tag_encode = _tag | strip | url_encode -%} {%- if forloop.last -%} {%- assign _tags = _tags | append: _tag_encode -%} {%- else -%} {%- assign _tags = _tags | append: _tag_encode | append: ',' -%} {%- endif -%} {%- endfor -%} {%- if include.group_by == 'year' -%} {%- assign _currentdate = _article.modif | date: '%Y' -%} {%- if _currentdate != _date -%} {%- unless forloop.first -%}{%- endunless -%}

{{ _currentdate }}

    {%- assign _date = _currentdate -%} {%- endif -%} {%- endif -%}
  • {%- if include.show_info -%} {%- assign d = _article.modif | date: "%-d" -%}{%- case d -%}{%- when '1' -%}{{ d }}r{%- when '2' -%} {{ d }}{%- when '3' -%} {{ d }}{%- when '4' -%} {{ d }}{%- when '5' -%} {{ d }}{%- when '6' -%} {{ d }}{%- when '7' -%} {{ d }}{%- when '8' -%} {{ d }}{%- when '9' -%} {{ d }}{%- else -%}{{ d }}{%- endcase -%}  {%- assign m = _article.modif | date: "%-m" -%}{%- case m -%}{%- when '1' -%}janv.{%- when '2' -%}févr.{%- when '3' -%}mars {%- when '4' -%}avr. {%- when '5' -%}mai   {%- when '6' -%}juin  {%- when '7' -%}juil.{%- when '8' -%}août  {%- when '9' -%}sept.{%- when '10' -%}oct. {%- when '11' -%}nov. {%- when '12' -%}déc. {%- endcase -%} {%- endif -%} {{ _article.title }}
  • {%- elsif include.type == 'grid' -%} {%- if include.size == 'sm' -%}
    {%- if _article.cover -%} {%- endif -%}
    {%- else -%}
    {%- if _article.cover -%}
    {%- endif -%}
    {%- endif -%} {%- endif -%} {%- endfor -%}