Commit Graph

4 Commits

Author SHA1 Message Date
Viktor Szépe 9ee01aafa2 fix: typos across codebase (#543) 2025-06-20 17:10:07 +07:00
kakomonn bd948604be fix: add types for constants to avoid type errors when empty (#501)
Add types for `constants` to avoid type errors
when either `SOCIALS` or `SHARE_LINKS` is empty.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-05 23:31:37 +07:00
Sat Naing 5cff7c50b9 feat: add global and per-post timezone support (#491)
* refactor: replace embedded svg with svg icon

* feat: add global and per-post timezone support

- add `SITE.timezone` in config to define a global default timezone.
- allow per-post timezone overrides via `timezone` in frontmatter.
- update date formatting logic to use the correct timezone when rendering timestamps.
- ensure that posts without a timezone fallback to `SITE.timezone`.
- improve consistency between local and deployed timezones.

* refactor: replace `LOCALE` constant with  `SITE.lang`

* docs: update guides

* fix: update code word-break inside markdown table

Closes #466
2025-03-22 17:21:21 +07:00
satnaing a2b88e1247 refactor!: separate config and constants 2025-03-08 18:21:37 +07:00