Make dates respect current locale (deprecations!)
And make comments use it in a smart way (it's not but it works) Deprecate "extra.date_format" and "extra.comments.locale" and replace it with "date_format" and "date_locale" in translation files
This commit is contained in:
3
content/demo/code.ar.md
Normal file
3
content/demo/code.ar.md
Normal file
@ -0,0 +1,3 @@
|
||||
+++
|
||||
title = "Code Block Demo (العربية)"
|
||||
+++
|
3
content/demo/code.ru.md
Normal file
3
content/demo/code.ru.md
Normal file
@ -0,0 +1,3 @@
|
||||
+++
|
||||
title = "Code Block Demo (Русский)"
|
||||
+++
|
8
content/demo/comments.ar.md
Normal file
8
content/demo/comments.ar.md
Normal file
@ -0,0 +1,8 @@
|
||||
+++
|
||||
template = "article.html"
|
||||
title = "ActivityPub/Fediverse comments demo (العربية)"
|
||||
[extra.comments]
|
||||
host = "toot.community"
|
||||
user = "sungsphinx"
|
||||
id = "111784580759701190"
|
||||
+++
|
8
content/demo/comments.ru.md
Normal file
8
content/demo/comments.ru.md
Normal file
@ -0,0 +1,8 @@
|
||||
+++
|
||||
template = "article.html"
|
||||
title = "ActivityPub/Fediverse comments demo (Русский)"
|
||||
[extra.comments]
|
||||
host = "toot.community"
|
||||
user = "sungsphinx"
|
||||
id = "111784580759701190"
|
||||
+++
|
4
content/demo/page.ar.md
Normal file
4
content/demo/page.ar.md
Normal file
@ -0,0 +1,4 @@
|
||||
+++
|
||||
+++
|
||||
|
||||
# Welcome to the cake party (العربية)
|
4
content/demo/page.ru.md
Normal file
4
content/demo/page.ru.md
Normal file
@ -0,0 +1,4 @@
|
||||
+++
|
||||
+++
|
||||
|
||||
# Welcome to the cake party (Русский)
|
Reference in New Issue
Block a user