blob: c57d93b5bee22fe358fdcd003165ae98a9c97bdf (
plain) (
tree)
|
|
{% capture i18n_month %}
{% assign m = include.date | date: "%-m" | minus: 1 %}
{{ site.t.months[page.lang][m] }}
{% endcapture %}
{% if page.lang == "en" %}
{% comment %}
handcrafting the "%B %-d, %Y" date format
{% endcomment %}
{{ i18n_month }}{{ include.date | date: "%-d, %Y" }}
{% elsif page.lang == "pt" %}
{% comment %}
handcrafting the "%-d de %B de %Y" date format
{% endcomment %}
{{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }}
{% elsif page.lang == "fr" %}
{% comment %}
handcrafting the "%-d de %B de %Y" date format
{% endcomment %}
{{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }}
{% endif %}
|