Commit Graph

33 Commits

Author SHA1 Message Date
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
satnaing d929ce1fef fix: solve modDatetime type errors
Update modDatetime props type to have null type for components that have modDatetime as props.
2024-01-05 10:32:31 +06:30
satnaing e7c9a56722 refactor: enable scroll-smooth only in post detail page 2024-01-04 15:53:12 +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
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
tanishqmanuja 88d9343ab5 feat: use new og images in layout 2023-09-26 02:04:11 +06:30
satnaing cbdaa59bae feat: add ViewTransitions from Astro
Integrate ViewTransitions API from Astro v3.

resolve #96
2023-09-26 02:04:11 +06:30
satnaing f25377674e feat: update theme-color tag on theme switch 2023-09-26 02:04:11 +06:30
Nahuel Garbezza 4687bd516b feat: support custom canonical URLs (#83)
Adding an optional attribute in the posts' frontmatter that allows the user to set a custom canonical URL
2023-07-23 10:55:19 +06:30
satnaing e017dcf9a5 style: format files with prettier 2023-06-21 11:48:07 +06:30
Gabriel Kanev f6ac8104b2 fix: add missing sitemap in head (#69) 2023-05-15 10:30:57 +06:30
satnaing ccb5a7787c refactor: update imports paths 2023-03-23 23:20:33 +06:30
Sat Naing 27507d1d78 feat: generate og images in png format (#43)
* feat: generate og images in png format

In production mode, generate og images from svg to png format.

fix #40

* refactor: update og image format from svg to png

Update OG image format in post detail to png. Update twitter og images to auto-generated dynamic og
images.
2023-03-01 18:46:42 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 52197d319d perf: update font load strategy for better performance 2023-01-19 18:21:13 +06:30
satnaing 9434d850e1 fix: use default-og for twitter card 2022-12-30 16:14:12 +06:30
satnaing d7e28c700f build: add google-site-verification tag in the header 2022-12-20 22:42:29 +06:30
satnaing 0eeed8e870 refactor: update toggle theme function for better structure and a11y
Move theme switch js codes in Layout.astro file to external js file (toggle-theme.js). Update
.prettierignore to exclude the new toggle-theme.js file.  Update base.css for new data-theme
attribute.
2022-11-26 23:43:27 +06:30
Sat Naing 3bc440144a Add primaryColorScheme feature 2022-09-26 12:04:10 +06:30
Sat Naing e6e70f713e Add bold and italic font style 2022-09-26 12:03:40 +06:30
Sat Naing 10358b0fbf Add prefers-color-scheme media query 2022-09-26 10:11:18 +06:30
Sat Naing ef1fac6043 Set default og image even when empty string is specify 2022-09-23 13:30:58 +06:30
Sat Naing 9db22658ed Replace env values with SITE config object 2022-09-22 21:20:40 +06:30
Sat Naing 3a34456655 Eliminate google font style link to prevent render-blocking 2022-09-17 14:26:35 +06:30
Sat Naing 98e45890f7 Fix og image to be at root url always 2022-09-14 00:05:52 +06:30
Sat Naing 50c3309907 Improve SEO by adding necessary meta tags 2022-09-12 22:41:30 +06:30
Sat Naing efec1d3f07 Refactor body class codes to base.css 2022-09-11 15:25:14 +06:30
Sat Naing b19fd5d986 Update body min-height and body style flex 2022-09-11 15:23:49 +06:30
Sat Naing f995485c09 Add light/dark mode functionality 2022-09-09 00:48:23 +06:30
Sat Naing 0d5378969f Add IBM Plex Mono font 2022-09-08 22:51:27 +06:30
Sat Naing 147d934e97 Add custom base style of Tailwind 2022-09-08 21:42:09 +06:30
Sat Naing 2ffd37cb25 Add social media & SEO meta tags 2022-09-08 20:57:24 +06:30
Sat Naing 44cf5afeba Initial commit from Astro 2022-09-08 19:20:34 +06:30