Commit Graph

8 Commits

Author SHA1 Message Date
Sat Naing cb8a4794be feat: add file name transformer for fenced code blocks (#535)
* feat: add file name transformer for fenced code blocks

* chore: update file names in fenced code blocks
2025-06-14 00:14:07 +07:00
Sat Naing 76e15b55e3 feat: add Shiki transformers for better syntax highlighting (#534)
* refactor: organize prose related styles inside nested prose

* feat: add Shiki transformers for better syntax highlighting

* chore: update blog posts using Shiki transformers

Closes #210
2025-06-13 23:08:18 +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
Sat Naing 2774045045 fix: broken editPost link and update editPost logic (#487)
* fix: broken editPost link and update editPost logic

Fixed broken editPost link. Removed the ability to update
the editPost link inside each blog post for consistency.
The editPost button per blog post can still be hidden.

* docs: update docs for editPost
2025-03-20 12:41:58 +07:00
satnaing 004ddcf6ee docs: update blog post creation guide 2025-03-18 07:57:07 +07:00
Sat Naing 212fd5c550 fix: remove unused ogImage size validation (#462)
* fix: remove unused ogImage size validation

Validation of `ogImage` field in blog collection
causes unintentional broken og images after the build.
Removing the validation solve the issue.

* docs: update docs for ogImage path

* chore: update asset
2025-03-09 19:27:20 +07:00
Sat Naing 0cb5a5be7f docs: update blog posts and readme (#459)
* docs: update astro-paper theme config docs

* docs: update adding-new-post blog post

* docs: remove outdated posts and update featured posts

* fix: update broken image link in astro-paper-4 blog

* docs: add a blog post for astro-paper-v5

* docs: update README for AstroPaper v5

* fix: update blog post formatting
2025-03-08 18:21:37 +07:00
satnaing 594addaec1 refactor!: update blog directory to src/data/blog 2025-03-08 18:21:37 +07:00