Commit Graph

19 Commits

Author SHA1 Message Date
Viktor Szépe 9ee01aafa2 fix: typos across codebase (#543) 2025-06-20 17:10:07 +07:00
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 38ebf6e1b6 feat: add RTL language support (#531)
* feat: add RTL language support

- Add `SITE.dir` config option.
- Replace physical Tailwind classes with logical
property classes.

Resolves #439

* docs: add `dir` section in doc
2025-06-14 00:07:27 +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
Frederik 316bdd8203 docs: update customize-color-schemes doc (#523)
* docs: update customize-color-schemes doc to match current file structure and files

* docs: update color-schemes customization docs

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2025-06-09 14:47:57 +07:00
Sat Naing 5f72b93d92 refactor: extract redundant max-width into utility (#525)
* refactor: extract redundant max-width into utility

Extract redundant max-width into a universal tailwind
utility class. By doing so, the width of the layout
in different pages can be customized easily.

* docs: update docs for modifying `max-w-app` utility
2025-06-09 11:42:33 +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
satnaing 9f75d266c6 refactor: update blog post directory structure 2025-03-18 07:57:07 +07:00
satnaing feaf5e122a feat: allow blog posts to be organized by subdirectories
Blog posts can now be structured into subdirectories, which determine their slugs.

Example:
- `/src/data/blog/2025/testing.md` → `/posts/2025/testing`

Directories prefixed with `_` will be excluded from the slug.

Example:
- `/src/data/blog/_examples/tailwind-typography.md` → `/posts/tailwind-typography`

Closes #470, #366
2025-03-18 07:57:07 +07:00
Erison Silva 0016dd55d1 fix: update import location in giscus example (#474) 2025-03-12 20:59:08 +07:00
Sat Naing 6749f62015 fix: add an option to disable dynamic OG image generation (#476)
* fix: add an option to disable dynamic OG image generation

Add new `dynamicOgImage` option in the `SITE` object inside 
`src/config.ts` file to disable auto og-image generation during build.

Resolves #428

* docs: update guides for `SITE.dynamicOgImage` option
2025-03-12 20:47:12 +07:00
Erison Silva dc5ca47b1d docs: update giscus integration guide for AstroPaper v5 (#472) 2025-03-12 20:04:09 +07:00
Erison Silva 77ff6b4f64 docs: update color schemes guide for AstroPaper v5 (#469) 2025-03-12 19:54:28 +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 b51a055e22 docs: update LaTeX equations guide in Astro blog posts (#461) 2025-03-09 16:41:19 +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