imgarylai / gary-lai.com

Home Page:https://gary-lai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro

This is my personal blog built with Next.js. All the posts are written in markdown foramt and stored on GitHub repo.

Features

  • Write posts in .mdx.
  • Create a post through command creat-post.
  • Generate archive pages with pagination.
  • Generate tag pages with pagination.
  • Use Chakra UI for the style.

How to use

Create a post

$ create-post
✔ What is the file name? Example
✔ What is the post title? Example Post
✔ What is the post description?
Post Example Post was created at /path/to/project/src/posts/example.mdx
---
title: Example Post
description: ''
date: '2021-05-24T19:25:25+08:00'
tags: []
---

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

About

https://gary-lai.com


Languages

Language:TypeScript 95.7%Language:JavaScript 4.3%