blob: 5fa30b421bb17d24d452cbc4bc36222c628ab090 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{% 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" }}
{% endif %}
|