From ad92ee47716b1fa51a6c62e83f29cb93b7fc7cfa Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Aug 2020 23:16:22 -0300 Subject: i18n-date.html: Replace HTML comments with liquid comments So they don't pollute the final source. --- _includes/i18n-date.html | 8 ++++++-- 1 file 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" %} - + {% 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 %} -- cgit v1.2.3