- Category pages
- if there is no category for a post, it goes into the /posts/ url
- otherwise, there is an index for a category. Example /projects
- Tags
- used to tag context of a project. personal, company, etc
Uses Github Projects (v2) as CMS.
- Issue = Page or Post
- Category Pages (using custom field in project)
- Tag Pages using github Labels
- MDX Components
- public editing option
- Set publish tag (only Issues with this tag will be published)
- (Optional) Set up Issue Templates (For Post Templates, etc)
- Create a Project
- Enter the Project Number ___
- Create Custom fields (fields with no space will be used as is, if the name has a space it will turn to camelCase)
- Category
- Cover Image
- Publish Date
Need to use the KV store of cloudflare (or anywhere else) to convert between slugs and issue IDs because the Github api only allows fetching issues by ID.
- Instructions: https://giuseppegurgone.com/vercel-cloudflare-kv
- GITHUB_TOKEN
- CLOUDFLARE_TOKEN
Example:
{
publish_tag:'',
org_project:false,
username:"", // use Organization username if Organization
project_num: 1,
}