Open jasongitmail opened 1 month ago
Haven't really looked into the solutions for the blog component yet. I thought I would perhaps make it myself but Hashnode looks really nice!
I use hashnode as headless CMS with the front end in svelte personally. Gives ideal performance bc SK's client side router can still work and keeping the front end in SK is also ideal for SEO bc it can live at /blog instead of a subdomain.
https://hashnode.com/enterprise?source=headless-page-redirect
Actually after considering it I think I'm just going to write raw html for blogs and not use any framework or markdown converter at all.
It is actually quite a nice experience if you use the @tailwindcss/typography
plugin and write the html in vscode which autocompletes the tags.
And it also makes is super easy if I want to do some sort of interactive element within my blog.
That works too. 👍 Start simple + interactive svelte components could be useful for some people.
You give up a few things like image hosting, auto image resizing & optimization (but you can use svelte's enhanced:image
), post scheduling, multi-user review workflow, etc. That's why I switched from a file-based system to a headless backend. I also render the HTML in a div, that uses classes from @tailwindcss/typography
.
But both approaches are valid.
@jasongitmail @ocluf I am eyeing https://contentlayer.dev/
I have a similar private svelte template I created for my own projects, and wanted to suggest Hashnode as a headless blog backend, in case it helps. Like a Ghost but free and hosted.
Curious to hear what headless backend you use if not these, to maybe discover something new.