745 Commits

Author SHA1 Message Date
satnaing 85f8bc67ff refactor: add default tag if no tag is specified in post 2023-01-30 21:26:05 +06:30
satnaing 50af65b0b4 refactor: update ogImage.src to ogImage 2023-01-30 20:57:35 +06:30
satnaing fc37b89953 refactor: mark featured and draft properties as optional 2023-01-30 20:45:58 +06:30
satnaing fb6a13fa10 docs: add caution about forestry discontinuing 2023-01-30 20:31:01 +06:30
satnaing f157ee6cf3 refactor: update blog schema by removing ogImage alt 2023-01-30 12:12:13 +06:30
satnaing f73f02e6e9 refactor: rename blogCollection to blog 2023-01-30 12:10:04 +06:30
satnaing 27b9f6f8ad refactor: update blog schema's author to be optional 2023-01-29 21:27:29 +06:30
satnaing 1fbb2d3c4d refactor: move filtering draft to getCollection func 2023-01-29 21:25:54 +06:30
satnaing 4a0bd18b1b refactor: remove unnessary types and refactor excluding draft
Exclude types of postResult and pagePaths  which can be inferred. Filtered draft posts in
getCollection function.
2023-01-29 21:17:12 +06:30
satnaing a61fd45559 fix: fix broken tags in PostDetails page 2023-01-29 21:01:11 +06:30
satnaing c556202c97 fix: make the last part of breadcrumb lowercase in specific tag page 2023-01-29 20:49:44 +06:30
satnaing c192cd8e50 fix: exclude draft posts in specific tag page 2023-01-29 20:08:01 +06:30
satnaing e8171d327e refactor: update for new content collection api 2023-01-28 01:23:37 +06:30
satnaing 38761e2e8f refactor: update collection type and new schema property name 2023-01-28 01:18:25 +06:30
satnaing 1717222a8b refactor: update querying logic with content collections api 2023-01-28 01:15:36 +06:30
satnaing db385b6567 refactor: update to AstroV2 and remove headings on search result
Update imports and types according to Astro v2 content collections. Remove headings on search result
for better search accuracy.
2023-01-28 00:58:40 +06:30
satnaing bf4f687d2d fix: resolve initial onChange input value bug
URL and search results don't get updated when input box value is removed after reload the page. Fix
this problem.
2023-01-28 00:55:30 +06:30
satnaing 0fe14f4217 refactor: refactor relative imports to aliases 2023-01-28 00:52:18 +06:30
satnaing 8cc6947799 refactor: update datetime prop type to string and date 2023-01-28 00:50:07 +06:30
satnaing a2f572eadf refactor: refactor relative import to alias 2023-01-28 00:47:59 +06:30
satnaing c19f3a0e5a refactor: update imports and frontmatter types 2023-01-28 00:47:21 +06:30
satnaing d67e64e02d refactor: refactor relative import to alias 2023-01-28 00:44:58 +06:30
satnaing b420e688ca feat: define blog schema and add blog collection 2023-01-28 00:38:05 +06:30
satnaing 041f5412f8 refactor: move blog posts under content directory 2023-01-28 00:29:15 +06:30
satnaing d815b5b9b2 revert: revert back to JSX Card component 2023-01-28 00:25:36 +06:30
satnaing 293bad3b49 refactor: update fetch method and frontmatter type 2023-01-26 22:56:02 +06:30
satnaing 7c1de46462 refactor: update frontmatter type and change React to Astro 2023-01-26 22:54:24 +06:30
satnaing 57bf6d77a8 refactor: update getSortedPosts func for blog content collections 2023-01-26 22:43:35 +06:30
satnaing e7b93c560f refactor: modify slugger for blog content collection 2023-01-26 22:42:15 +06:30
satnaing 7243d29607 refactor: remove Frontmatter type 2023-01-26 22:40:10 +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
satnaing 7062fbf527 chore(types): update astro types 2023-01-25 19:53:25 +06:30
satnaing 52197d319d perf: update font load strategy for better performance 2023-01-19 18:21:13 +06:30
satnaing 35a095c33a Merge branch 'main' of https://github.com/satnaing/astro-paper 2023-01-03 21:05:29 +06:30
satnaing 86fbbe82c8 refactor: disable Mastodon social link 2023-01-03 21:05:20 +06:30
Amarjeet 6b2c0d3dbf Fix typo in dynamic-og-images.md 2023-01-03 12:01:39 +05:30
satnaing 945acf4260 fix: fix typo in title and slug 2022-12-30 17:19:52 +06:30
satnaing 2c98093241 docs: describe svg limitation for Twitter card 2022-12-30 16:14:44 +06:30
satnaing 9434d850e1 fix: use default-og for twitter card 2022-12-30 16:14:12 +06:30
satnaing af517cd486 docs: add a new blog post for v1.4.0 2022-12-29 22:35:12 +06:30
satnaing 93221239dd fix: add embedFont option for Satori 2022-12-29 22:07:55 +06:30
satnaing 82725e806c docs: update num of social links in docs 2022-12-28 19:30:43 +06:30
satnaing 2ec39128c6 feat: add Mastodon social link 2022-12-28 19:27:20 +06:30
satnaing 42eb018889 fix: hide social links section if no link is active
fix #16
2022-12-28 19:18:50 +06:30
Sat Naing ce3f1dc4a0 feat: generate dynamic og image for blog posts (#15)
* feat: add dynamic og image using satori
* feat: add og card styling
* feat: add dynamic paths for ogTitle
* feat: add default og url
* ci: change config site url for testing purpose
* fix: update original auto-generate og image style
* refactor: move ogImage jsx inside generateOgImage
* fix: add conditions for filtering draft posts & ogImages
* build: update minor and major dependency updates
* build: update site option in config file
2022-12-28 09:09:57 +06:30
satnaing d7e28c700f build: add google-site-verification tag in the header 2022-12-20 22:42:29 +06:30
RealOtakuBoi 02faff9fbd fix: fix grammar mistake
Update 'to made' -> 'to make'.
2022-12-11 23:59:59 +06:30
satnaing 46ea4aa49a feat: update mobile nav to be accessible
Put 'Open Menu' button under nav tag. Add aria-label, aria-expanded and aria-controls in 'Open Menu'
button. Make the entire nav to be more accessible.
2022-12-06 22:48:15 +06:30
satnaing 93e67bf2be refactor: remove unused css for hr 2022-12-05 23:29:43 +06:30