Commit Graph

13 Commits

Author SHA1 Message Date
面条 b3a1d9d369 fix: add trailing slash to links to avoid extra redirects (#246)
Add trailing slash to links for improved consistency with RSS links and to avoid unnecessary redirects.

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
2024-01-25 10:24:28 +06:30
satnaing 20536b0562 fix: update rss pubDate to prioritize modDatetime if exists 2024-01-04 15:53:12 +06:30
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 e486687610 feat: upgrade to astro v3
Upgrade to astro v3. Update dependencies. Fix codes and features due to migration.

BREAKING CHANGE: Astro v3

resolve #111
2023-09-26 02:04:11 +06:30
satnaing 08151881cc style: format file with prettier 2023-03-24 23:48:15 +06:30
Salman Hossain Saif 9e62b637e8 fix: sort rss feed from latest to oldest (#38)
* Sorted the rss feed from latest to oldest. Which is crucial for RSS readers.

* sorted rss using util func

* refactor: remove redundant draft filter and update import positions

---------

Co-authored-by: Saif71 <>
Co-authored-by: Sat Naing <satnaingdev@gmail.com>
2023-03-17 13:14:10 +06:30
satnaing 1717222a8b refactor: update querying logic with content collections api 2023-01-28 01:15:36 +06:30
satnaing b83c906262 fix: fix broken post links and hide draft posts in rss feed 2022-11-11 15:31:20 +06:30
elpekenin a256dedb73 Change glob 2022-10-16 12:17:36 +02:00
Sat Naing e8c15931d8 Update items link with slugify function 2022-09-25 19:26:02 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing 9e351fe26d Move types definition under src directory 2022-09-22 20:39:51 +06:30
Sat Naing bc116abb51 Generate rss items with rss feed object 2022-09-14 01:46:20 +06:30