Commit Graph

21 Commits

Author SHA1 Message Date
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 e8171d327e refactor: update for new content collection api 2023-01-28 01:23:37 +06:30
satnaing 1c2821e4df fix: disable access to draft posts via url 2022-12-02 23:28:45 +06:30
Sat Naing 20822c422a chore: format files with prettier 2022-10-16 23:53:16 +06:30
elpekenin a256dedb73 Change glob 2022-10-16 12:17:36 +02:00
Sat Naing 6e79189afd Update slug url with new function's slugified url 2022-09-25 19:07:47 +06:30
Sat Naing 755576fbc5 Filter draft posts when calculating total pages 2022-09-22 23:44:21 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing b8a08dc794 Update import of type definition 2022-09-22 20:51:35 +06:30
Sat Naing e5b2f04f9a Update [slug] page to render both post detail and post page 2022-09-20 20:57:43 +06:30
Sat Naing eb60d0e9d0 Replace Card & Datetime astro components with react components 2022-09-19 22:19:05 +06:30
Sat Naing 0309f9fa5e Add Breadcrumbs component and remove top padding 2022-09-17 00:37:43 +06:30
Sat Naing 931e8e0792 Update main element with id 'main-content' 2022-09-12 18:57:31 +06:30
Sat Naing a924d6e440 Add with 100% in main to solve overflow problem 2022-09-12 09:26:32 +06:30
Sat Naing 8b4cda6b73 Replace relative imports with util import alias 2022-09-11 14:15:52 +06:30
Sat Naing d5bd7515d3 Update Frontmatter type from util 2022-09-11 14:10:39 +06:30
Sat Naing 7787f4a042 Reposition tags to the bottom of the article 2022-09-11 12:17:24 +06:30
Sat Naing 1004715074 Add footer in post detail page 2022-09-11 03:06:45 +06:30
Sat Naing 9e881a0355 Add tags in post detail 2022-09-11 03:04:55 +06:30
Sat Naing 1be3716c92 Add datetime under title 2022-09-11 02:12:43 +06:30
Sat Naing 262a311a7a Create post detail page 2022-09-11 01:58:25 +06:30