Commit Graph

22 Commits

Author SHA1 Message Date
AkaraChen 4d5a560dd4 fix: slug generate 2022-10-28 10:57:11 +08:00
AkaraChen 55425d4504 chore: update github-slugger 2022-10-28 10:33:33 +08:00
Sat Naing 20822c422a chore: format files with prettier 2022-10-16 23:53:16 +06:30
Sat Naing 3f52daf865 Slugify not only frontmatter.title but also frontmatter.slug 2022-09-25 19:27:53 +06:30
Sat Naing 013a3299d6 Reposition slugifyAll import 2022-09-25 19:05:30 +06:30
Sat Naing bd6fb0ac91 Update slugify function with new function slugifyStr 2022-09-25 19:04:59 +06:30
Sat Naing 191798217f Modify slufigy with GithubSlugger 2022-09-25 19:02:18 +06:30
Sat Naing b8b7aaef7d Add filter for draft posts 2022-09-22 23:36:44 +06:30
Sat Naing 300fd568e9 Replace env variable with SITE config object 2022-09-22 21:32:02 +06:30
Sat Naing eb27fbd33c Replace socialLinks array with SOCIALS config 2022-09-22 21:17:56 +06:30
Sat Naing 9e351fe26d Move types definition under src directory 2022-09-22 20:39:51 +06:30
Sat Naing a9464fbbfb Add optional ogImage type in Frontmatter interface 2022-09-21 14:08:04 +06:30
Sat Naing a619529157 Add getPageNumbers function for retrieving page numbers array 2022-09-20 20:48:45 +06:30
Sat Naing 4d2332ddbc Add socialLinks array of object 2022-09-19 12:46:48 +06:30
Sat Naing 30bf56ccf8 Create getPostsByTag util function 2022-09-11 16:39:37 +06:30
Sat Naing 22f21782da Create slugifyAll function for array 2022-09-11 16:39:06 +06:30
Sat Naing 5632b9bcf8 Create getUniqueTags function 2022-09-11 14:08:04 +06:30
Sat Naing 831999ca17 Create slugify function 2022-09-11 14:05:52 +06:30
Sat Naing 15a0bd04c3 Replace internal type with external Frontmatter type 2022-09-11 14:05:17 +06:30
Sat Naing c6c4927638 Extract Frontmatter type 2022-09-11 14:04:25 +06:30
Sat Naing a0d850c130 Create getSortedPosts util function 2022-09-10 16:22:30 +06:30
Sat Naing 4ca7b5c52a Add util function formatDatetime 2022-09-09 23:50:09 +06:30