mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 00:58:28 -04:00
fix: Don’t markdownify dates
To prevent “ordered list” markup in languages like Danish and German dates are no longer markdownifed. Date formates like: `2. January 2006` would be turned into ordered lists because of the period after 2.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<time datetime="{{ . }}">
|
<time datetime="{{ . }}">
|
||||||
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) | emojify -}}
|
||||||
</time>
|
</time>
|
||||||
{{- /* Trim EOF */ -}}
|
{{- /* Trim EOF */ -}}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<time datetime="{{ . }}">
|
<time datetime="{{ . }}">
|
||||||
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | emojify -}}
|
||||||
</time>
|
</time>
|
||||||
{{- /* Trim EOF */ -}}
|
{{- /* Trim EOF */ -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user