Commit Graph

11 Commits

Author SHA1 Message Date
Simon Smale 14e2936608 feat: add code-snippets for content creation (#206)
* Create astro-paper.code-snippets

* feat: allow nullable modDatetime

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook

* Update astro-paper.code-snippets to make feat false by default
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
Sat Naing 80e67a1dca feat: add modified datetime in blog posts
* feat: add modified datetime in blog posts

Add modDatetime in blogSchema. Update Datetime component to accept modDatetime. Update sorting logic. Rename datetime to pubDatetime in Datetime component.

Closes: #134

* feat: add published_time & modified_time meta tags

* docs: update related blog posts to be up-to-date

* fix: remove extra spaces in breadcrumbs
2023-12-26 10:11:26 +06:30
tanishqmanuja 7f3edbdecd fix: get og image url correctly 2023-09-26 02:04:11 +06:30
tanishqmanuja 20c89709ad feat: default post author to site author 2023-09-26 02:04:11 +06:30
tanishqmanuja e9d4303219 feat: add image validation to schema 2023-09-26 02:04:11 +06:30
tanishqmanuja 817e67ac65 refactor: move schema to config file 2023-09-26 02:04:11 +06:30
satnaing f73f02e6e9 refactor: rename blogCollection to blog 2023-01-30 12:10:04 +06:30
satnaing b420e688ca feat: define blog schema and add blog collection 2023-01-28 00:38:05 +06:30
satnaing 4e7d9843d7 refactor: define blog schema and clean up config 2023-01-26 22:39:26 +06:30
satnaing 309f4a3c45 chore: add content collections configuration 2023-01-26 18:39:58 +06:30