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:
David Jack Wange Olrik
2025-03-02 17:53:16 +01:00
parent 42306dbe62
commit 6f113e5754
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<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>
{{- /* Trim EOF */ -}}
+1 -1
View File
@@ -1,4 +1,4 @@
<time datetime="{{ . }}">
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | emojify -}}
</time>
{{- /* Trim EOF */ -}}