{% macro title(page) %} <header> <h2 class="date"><a href="{{ page.permalink }}">{{ page.title }}</a></h2> <small> <time datetime="{{ page.date | date(format="%F") | safe }}"> {{ page.date | date(format="%F") }} </time> {{ " - " }}({{ page.reading_time }} min de souffrance) </small> </header> {% endmacro title %} {% macro polish(content) %} {{ content | replace(from=":sourire:", to="๐") | replace(from=":+1:", to="๐") | replace(from=":tire_la_langue:", to="๐") | replace(from=":rire:", to="๐") | replace(from=":colere:", to="๐ฆ") | replace(from=":coeur:", to="โค") | replace(from=":dรฉรงu:", to="๐") | replace(from=":tada:", to="๐") | replace(from=":clap:", to="๐") | safe }} {% endmacro content %}