Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog #12

Open
jasongitmail opened this issue Jul 30, 2024 · 6 comments
Open

Blog #12

jasongitmail opened this issue Jul 30, 2024 · 6 comments

Comments

@jasongitmail
Copy link

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.

@ocluf
Copy link
Owner

ocluf commented Jul 30, 2024

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!

@jasongitmail
Copy link
Author

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

@ocluf
Copy link
Owner

ocluf commented Aug 21, 2024

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.

@jasongitmail
Copy link
Author

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.

@Korayem
Copy link

Korayem commented Sep 7, 2024

@jasongitmail @ocluf I am eyeing https://contentlayer.dev/

@Ileies
Copy link
Contributor

Ileies commented Nov 22, 2024

@Korayem Sadly you can forget that. Support for SvelteKit has been under consideration for 3 years now and the 400 Votes for it were answered with a bold "Tight integration with SvelteKit is not currently planned" 9 months ago and since ignored. :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants