* feat: Add pencil icon before suggestion changes text
* fix: update class to className and adjust icon scale
---------
Co-authored-by: satnaing <satnaingdev@gmail.com>
* chore: upgrade ESLint to v9 and update configurations
Upgrade ESLint and configure and update ESLint rules.
* refactor: update code to comply with new ESLint v9 rules
Previously, `github-slugger` omitted emojis when generating slugs, transforming tags like "🌱-my-tag" into "-my-tag". This change replaces `github-slugger` with `lodash.kebabcase` to ensure that emojis are preserved in the generated slugs, improving the accuracy and consistency of tag representations.
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>
* Add a SITE config parameter for posts in index page
* docs: update blog post for `postPerIndex` config
---------
Co-authored-by: satnaing <satnaingdev@gmail.com>
* refactor: show update time when modDatetime more recently than pubDatetime
* fix: show wrong date when compare with null modeDate
* refactor: modDatetime type checking & rewrite myDatetime
Add trailing slash to links for improved consistency with RSS links and to avoid unnecessary redirects.
---------
Co-authored-by: satnaing <satnaingdev@gmail.com>
Update back button in PostDetails.astro to redirect to home page when
there's no route history.
If a blog post url is pasted in the browser and there's no route history
,prior to this commit, back button did not work as expected.
Now, if there's somewhere to go back, the back button will go back to the
previous route.
If not, the back button will redirect to home page.
Changes made:
- Removed the recent posts section if there's no post under the recent section.
- Eliminated unnecessary <Hr /> tags when there's no recent post.
- Extracted all-links from the recent section and put it above the footer.
Closes: #204
* Disable margin bottom on image
The result is better on images with caption defined as:
```

*caption*
```
* refactor: combine mt and mb into my-2
---------
Co-authored-by: satnaing <satnaingdev@gmail.com>
* 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>
Remove the extra "right-padding" inside the header search icon when lightAndDarkMode is false so UI is consistent.
This is done by including <li> tag inside if statement