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
satnaing
67b9536cce
refactor: replace secHeading with variant prop in Card
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
satnaing
a4a5ced8a6
fix: correct Google Fonts API URL construction for proper weight fetching
2025-03-09 17:54:05 +07:00
Alexey Poimtsev
673c00969e
fix: align vertically in header nav ( #460 )
2025-03-09 16:58:19 +07:00
Pujan Modha
e08618ad3c
fix: add font-weight param in og image card style ( #453 )
2025-03-09 16:50:00 +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
98bff0a876
fix: update blog table padding
2025-03-08 18:21:37 +07:00
satnaing
61c6ec81b8
fix: remove unused back url in the card url
2025-03-08 18:21:37 +07:00
satnaing
39ed4898a3
fix: show light/dark button according to site setting
2025-03-08 18:21:37 +07:00
satnaing
b995f4dada
fix: add author url in Google JSON-LD conditionally
2025-03-08 18:21:37 +07:00
Sat Naing
9119125643
feat!: add pagefind for static search ( #458 )
...
Replace React with pagefind for static site search
2025-03-08 18:21:37 +07:00
satnaing
79c7df45e5
feat: update back button logic
...
Instead of saving back url in the param, save the
back url info inside session.
2025-03-08 18:21:37 +07:00
Sat Naing
35429176e0
refactor!: remove react dependency for UI interactions ( #457 )
...
Remove react as a dependency for UI interactions.
Update jsx components such as Search and Datetime
with astro components.
2025-03-08 18:21:37 +07:00
satnaing
f71fdc1398
chore: update robots.txt implementation
2025-03-08 18:21:37 +07:00
satnaing
172e14b5f4
build!: upgrade to Tailwind CSS v4
2025-03-08 18:21:37 +07:00
satnaing
a2b88e1247
refactor!: separate config and constants
2025-03-08 18:21:37 +07:00
satnaing
53c79dd4c1
refactor: update import alias in files
2025-03-08 18:21:37 +07:00
satnaing
cd11b39d22
build: add icons and update asset directorries
2025-03-08 18:21:37 +07:00
satnaing
90231031a5
build!: update import alias to @/*
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
satnaing
cc936ca5e4
build!: upgrade Astro to v5 and related packages
2025-03-08 18:21:37 +07:00
George Zhao
a56b28bc2c
fix: use tag name for display in tags page ( #438 )
...
Instead of slugified tags, original tag names will
be used for displaying tag names in the tags page.
2025-02-08 11:52:36 +07:00
開源 lib
43387b0d94
fix: add inline-block class to post title for improved view transition animation ( #420 )
2025-01-02 23:47:29 +07:00
xiecang
b9ef735d68
fix: sort archive posts by pubDatetime ( #415 )
2025-01-02 23:40:30 +07:00
Sébastien Monterisi
63fe796eac
fix: focus search input on mount ( #414 )
2024-12-29 16:04:20 +07:00
Sat Naing
397e3211d7
docs: update est readingTime blog post ( #409 )
...
Resolves #406
2024-11-05 18:12:45 +07:00
Erison Silva
cac8ba05f4
fix: replace twitter with x ( #407 )
2024-11-05 18:12:10 +07:00
Erison Silva
ec1060978c
feat: add pencil icon before suggestion changes text ( #405 )
...
* feat: Add pencil icon before suggestion changes text
* fix: update class to className and adjust icon scale
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-10-29 13:00:13 +07:00
Patrick Wilson
7573617e79
feat: add archives page with configurable menu ( #386 )
...
* feat: add archives page with configurable menu
* optimize: compat mobile layout
* fix: update archive menu layout
* fix: hide archives page from URL if showArchives is false
* docs: add `showArchives` option in docs
Resolves #361
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-10-14 18:49:40 +07:00
Patrick Wilson
0bc8eeeac8
feat: add edit post feature in blog posts ( #384 )
...
* feat: add edit post feature
* fix: remove edit button except on post detail pages
* docs: update site config docs for editPost
Resolves #191
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-10-11 18:14:17 +07:00
Andrea Mignone
b16fba81af
refactor: remove duplicate [page].astro ( #389 )
...
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-10-07 20:50:44 +07:00
Erison Silva
c11b2a2960
fix(docs): update giscus blog post ( #392 )
2024-10-02 21:44:40 +07:00
Rob Hudson
94ede9bb17
fix: add missing posts sorting ( #383 )
2024-10-02 21:31:12 +07:00
Sat Naing
cbbb3eb1e1
perf: preload font and load theme script asynchronously ( #380 )
...
Improve page performance by preloading the font with
`as="style"` and loading the theme script asynchronously.
2024-09-16 21:28:51 +07:00
Sat Naing
29eff36794
feat: add prev/next links at the bottom of blog post ( #372 )
...
* feat: add prev/next links at the bottom of blog post
* fix: update and rerun scripts in post details page after swap
Resolves #358
2024-09-16 20:43:54 +07:00
Timon Jurschitsch
08b1676cdd
refactor: replace pagination logic with Astro built-in pagination ( #376 )
2024-09-16 13:05:50 +07:00
Alberto Perdomo
70b2486293
docs: add a blog post for LaTex support ( #373 )
...
Add a blog post for adding LaTex equation rendering
in AstroPaper blog posts.
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-09-11 09:21:43 +07:00
Xuân Nghĩa
28f886b4d6
fix(og): add the missing SITE.website to loadGoogleFonts ( #360 )
2024-09-08 14:48:09 +07:00
faiz ahnaf
ec373c3369
fix(blog): correct file reference in reading time guide ( #359 )
...
Ensure no duplicate items appear in the list of the blog post
and update the list with the correct one.
2024-09-08 12:25:24 +07:00
Sat Naing
6bbe177566
chore: upgrade ESLint to v9 and update configurations ( #356 )
...
* chore: upgrade ESLint to v9 and update configurations
Upgrade ESLint and configure and update ESLint rules.
* refactor: update code to comply with new ESLint v9 rules
2024-08-19 12:58:16 +07:00
Sat Naing
dab61b3714
build: bump Astro to v4.14.2 & use content layer ( #355 )
...
Bump Astro from v4.13 to v4.14.2 and use experimental
content layer api.
2024-08-19 12:53:58 +07:00
Alejandro Ñáñez Ortiz
2b617b20a3
refactor: replace github-slugger with lodash.kebabcase ( #357 )
...
Previously, `github-slugger` omitted emojis when generating slugs, transforming tags like "🌱 -my-tag" into "-my-tag". This change replaces `github-slugger` with `lodash.kebabcase` to ensure that emojis are preserved in the generated slugs, improving the accuracy and consistency of tag representations.
2024-08-19 12:52:59 +07:00