diff options
author | EuAndreh <eu@euandre.org> | 2020-08-12 23:16:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-12 23:16:22 -0300 |
commit | ad92ee47716b1fa51a6c62e83f29cb93b7fc7cfa (patch) | |
tree | 5ada1478948b7865cd296c60871c4350c4ed6c99 /_includes | |
parent | about.md: Remove old links, make it similar to sobre.md (diff) | |
download | euandre.org-ad92ee47716b1fa51a6c62e83f29cb93b7fc7cfa.tar.gz euandre.org-ad92ee47716b1fa51a6c62e83f29cb93b7fc7cfa.tar.xz |
i18n-date.html: Replace HTML comments with liquid comments
So they don't pollute the final source.
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/i18n-date.html | 8 |
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 %} |