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
Matthieu
aa9430a1cf
docs: fix typo in development note of theme configuration guide ( #333 )
2024-07-24 22:04:13 +07:00
David Legrand
0d5ea52c23
feat: add number of posts config for home page ( #281 )
...
* Add a SITE config parameter for posts in index page
* docs: update blog post for `postPerIndex` config
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-07-14 16:48:49 +07:00
David Legrand
3efa05cc10
feat: hide posts in Prod with future pubDatetime ( #234 )
...
* Hide posts when PubDateTime is not reached
* refactor: extract filter logic into a file
* docs: update SITE config docs
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-01-15 19:40:02 +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
cd02b047d2
fix : #133 update LOCALE config to cover overall locales
...
Update LOCALE inside config.ts to include html lang value and datetime locale values. Updated respective files and blog post.
Closes : #133
2023-12-20 10:50:45 +06:30
Tanishq Manuja
9dcc5e1932
refactor: update site URL to be single source of truth ( #143 )
...
* wip: astro config to use .ts instead of .mjs
* fix: remove invalid prop in astro config
* refactor: single source of truth for site url
* refactor: make minor updates due to astro.config.ts
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2023-10-09 03:07:45 +00:00
tanishqmanuja
b03b722369
fix: remove empty string as ogImage
2023-09-26 02:04:11 +06:30
satnaing
26ecd173dd
fix : #72 replace SITE.website with a URL in astro.config site value
...
Using SITE.website in astro.config.mjs causes the problem . Thus, change back to the original url string in site value of .
Closes : #72
2023-07-20 16:30:02 +06:30
Andrea Mignone
0e9f709c5d
feat: add locale configuration for Datetime component ( #59 )
2023-04-17 23:56:58 +06:30
satnaing
4fe508462e
refactor: replace astro.config site value with SITE.website
2023-03-16 14:58:26 +06:30
satnaing
cd5620423e
docs: add external ogImage url information
2023-01-30 22:24:32 +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