wiktoriavh / learn-web-dev-svelte

Learn Web Dev is a beginner-friendly web-based platform that provides guided learning paths for individuals starting their web development journey.
1 stars 2 forks source link

Feature/Experimental markdown cms #4

Closed Mafrans closed 11 months ago

Mafrans commented 1 year ago

We need a simple way to add more resources and categories in a scalable way. I've implemented the experimental SvelteKit CMS I wrote for https://tangentkeyboards.github.io, which is a bit limited but I think is suitably simple for our usecase. It uses vite-plugin-markdown to parse a markdown file into frontmatter data and a html body, and makes use of vite's built in globbing functionality to dynamically load content from a folder.

wiktoriavh commented 1 year ago

I will take a deeper look at that, my idea was to add Decap CMS for content management: https://decapcms.org

Mafrans commented 1 year ago

I've used Tina in the past (mainly for https://mafra.nz) and found it pretty reasonable to work with, I believe all three options are decent.

wiktoriavh commented 1 year ago

Decap: https://github.com/Braweria/learn-web-dev-svelte/pull/11
Tina: https://github.com/Braweria/learn-web-dev-svelte/pull/12

Tina had a way easier developer experience to get started, I will probably stick with it. It's not finished, it also made me realise I have to rethink on how to do the "pick one" cards.