Skip to content

lovelliu/blog-with-craft

Repository files navigation

BLOG-With-Craft

English | 中文

Using Craft.do API and Next.js to generate a static site, and manage all content in Craft.do. I migrated it from JS to TS.

Quick Start

Create a config page

Create a new page in Craft.do, with a title of your choice (e.g. "Site Configuration"), and make it public, the content of the page should follow this format:

Refer to this page for the format: Demo Config, You can use backlinks in the title.

Deploy

Clone or fork a copy of this repository to your computer or Github, and edit the contents of blog.config.js.

Copy the new config page share link above and paste it to craftConfigShareUrl in blog.config.js.

Replace favicon.svg, and favicon.ico in /public folder with your own

Deploy to Vercel or elsewhere, done.

For more details refer to Next Craft Guide

License

The MIT License.