Commit Graph

6 Commits

Author SHA1 Message Date
u8b19 2f82febff4 fix: resolve non-latin char issue in generated OG images (#318)
Changes made
- update font source with Google font
- add error handling in font fetching logic
- update docs in dynamic-og-images blog post

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-07-27 14:36:52 +07:00
Sat Naing 2827d4e7d8 refactor: replace postSlug with Astro content slug
* refactor: replace postSlug with Astro content slug

Remove postSlug from blog schema. Refactor articles that use postSlug. Remove slugify function from slugify util file. Replace slugify logic with Astro's content collections slug logic.

Closes: #186

* docs: update docs for removed slugify contents

* refactor: remove unused import
2023-12-27 10:20:55 +06:30
satnaing 58c68ee055 docs: update docs for astro-papaer v3
Make docs articles up to date with the latest version of AstroPaper. Add a section for storing
images for blog posts. Rename rec-2 to example-draft-post and update its content.

resolve #117
2023-09-26 02:04:11 +06:30
tanishqmanuja b03b722369 fix: remove empty string as ogImage 2023-09-26 02:04:11 +06:30
satnaing f157ee6cf3 refactor: update blog schema by removing ogImage alt 2023-01-30 12:12:13 +06:30
satnaing 041f5412f8 refactor: move blog posts under content directory 2023-01-28 00:29:15 +06:30