- Free hosting and deployment by Cloudflare Pages
- Bring your own Nano Address
- No domain purchased required
Step 1. Fork This Template
Your Repo can be private, and named anything you like.
Sign Up for Cloudflare
Go to Workers & Pages
Create New Application
Go to Pages
Connect to Git
Add Github Account
Select Nano/Blog fork
Select Repo and Begin Setup
Configure Blog
- Build command: node build
- Build output: docs
Now that Cloudflare is setup. It auto deploys. Meaning any changes done on Github are deployed.
- Configure:
/config.json
- Write:
/source/*
- Language:
Markdown
- File Structure:
source/my-premium-article-title-in-kebab-case.md
- Put Images In:
/images
Pro Tip: Press the '<' key while on Github to open Visual Studio in the browser.
Markdown Structure:
- title: My Premium Article Title
- date: 01-01-2023
- tags: Opinion
- price: 0.01
- free: true
- author: @your_twitter
- website: twitter.com/your_twitter
- address: YOUR_NANO_ADDRESS
-----
Your story in Markdown..
git clone git@github.com:[name]/[your-nano-blog-fork].git
npm install
npm run watch
Local Version: http://localhost:8080
When changes in
./articles/*.md
,./images
and./themes
it auto builds.
This project is designed for Theming. Duplicate /themes/minimal
and change config.json
.