Commit Graph

16 Commits

Author SHA1 Message Date
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
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 8fbb0b4d85 feat: add JSON-LD structured data (#260)
- Add author profile to SITE variables
- Add JSON-LD to Layout.astro
2024-07-14 15:06:46 +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
satnaing db31df3ce4 refactor: remove SocialObjects type and update SocialObjects type
- remove SocialMedia type from src/types.ts
- generate each social icon type from socialIcons object instead
2024-01-09 15:45:48 +06:30
tanishqmanuja 88d9343ab5 feat: use new og images in layout 2023-09-26 02:04:11 +06:30
satnaing 0c6d0ba6cd refactor: add type to SITE object for better type safety 2023-03-16 14:56:54 +06:30
satnaing 7243d29607 refactor: remove Frontmatter type 2023-01-26 22:40:10 +06:30
satnaing 2ec39128c6 feat: add Mastodon social link 2022-12-28 19:27:20 +06:30
satnaing a45176203e refactor: rename the type SocialsObject to SocialObjects 2022-11-28 22:01:59 +06:30
satnaing c9f796f4e6 refactor(a11y): add linkTitle in social links for more meaningful voiceover 2022-11-28 13:38:08 +06:30
satnaing 307b55ff0f fix(typo): rename Linkedin to LinkedIn 2022-11-28 13:35:30 +06:30
Sat Naing 023f86b2f4 Add draft type in Frontmatter interface 2022-09-22 23:36:04 +06:30
Sat Naing 0ad254347d Add social type definitions 2022-09-22 21:15:48 +06:30
Sat Naing 9e351fe26d Move types definition under src directory 2022-09-22 20:39:51 +06:30