aboutsummaryrefslogtreecommitdiff
path: root/_includes/i18n-date.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/i18n-date.html')
-rw-r--r--_includes/i18n-date.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_includes/i18n-date.html b/_includes/i18n-date.html
index 9b73600..5fa30b4 100644
--- a/_includes/i18n-date.html
+++ b/_includes/i18n-date.html
@@ -3,9 +3,13 @@
{{ site.t.months[page.lang][m] }}
{% endcapture %}
{% if page.lang == "en" %}
- <!-- handcrafting the "%B %-d, %Y" date format -->
+ {% comment %}
+ handcrafting the "%B %-d, %Y" date format
+ {% endcomment %}
{{ i18n_month }}{{ include.date | date: "%-d, %Y" }}
{% elsif page.lang == "pt" %}
- <!-- handcrafting the "%-d de %B de %Y" date format -->
+ {% comment %}
+ handcrafting the "%-d de %B de %Y" date format
+ {% endcomment %}
{{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }}
{% endif %}