Mara-Li
2024-01-29 603c181ad27109327617a78e5f672ebf68edc267
refs
author Mara-Li <lili.simonetti@outlook.fr>
Monday, January 29, 2024 06:13 +0000
committer GitHub <noreply@github.com>
Monday, January 29, 2024 06:13 +0000
commit603c181ad27109327617a78e5f672ebf68edc267
tree 94d8bca3d5790dd00766155c069d36d4cd8a8bb0 tree | zip | gz
parent 16adbd30114bfcc1aaefa851a5a1786787f97a10 view | diff
feat: allow to config a translation for date (#739)

* fix: alt error mix with height/width

More granular detection of alt and resize in image

* fix: format

* feat: allow to translate the date displayed

* style: format

* fix: rename to fusion dateLocale with locale (i18n support)

* Update quartz/components/PageList.tsx

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* remove default key as it was already set

* add docstring for locale

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
6 files modified
23 ■■■■■ changed files
quartz/cfg.ts 6 ●●●●● diff | view | raw | blame | history
quartz/components/ContentMeta.tsx 2 ●●● diff | view | raw | blame | history
quartz/components/Date.tsx 9 ●●●●● diff | view | raw | blame | history
quartz/components/PageList.tsx 2 ●●● diff | view | raw | blame | history
quartz/components/RecentNotes.tsx 2 ●●● diff | view | raw | blame | history
quartz/plugins/transformers/ofm.ts 2 ●●● diff | view | raw | blame | history