sveltekit-mdsvex-blog
sveltekit-seo
Our great sponsors
sveltekit-mdsvex-blog | sveltekit-seo | |
---|---|---|
3 | 3 | |
147 | 47 | |
- | - | |
0.0 | 5.4 | |
about 1 year ago | 5 months ago | |
Svelte | Svelte | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sveltekit-mdsvex-blog
-
Tool like WordPress without javascript
No JS on the frontend or the backend? If you are only concerned about JavaScript on the frontend I would recommend SvelteKit, you can build sites with it in such a way that no JS is needed on the client. Maybe check out something like sveltekit-mdsvex-blog which requires little to no code if you are fine with how it looks.
-
Sveltekit blog w/MDSVex: [dynamic routing] vs endpoints?
However, some projects (the majority) seem to opt for rendering a full list of blog posts using an endpoint to fetch a list of files or modules like in this case for example.
-
Sveltekit and Markdown Content
Here's an example/template that uses mdsvex: https://github.com/mvasigh/sveltekit-mdsvex-blog
sveltekit-seo
-
Adding Schema.org Markup to your SvelteKit Site
There is a little data which feeds into the SchemaOrg component. The mechanism is similar to the one we used for the Twitter and OpenGraph components though. As there is a bit to get through here, we won't go into details on how to plumb the data in. That should stop the post getting too long! You can see the full code on the Rodney Lab GitHub repo which is a complete and tested version. The demo site is up at sveltekit-seo.rodneylab.com/. We will focus on the SchemaOrg component which is in the file src/lib/components/SEO/SchemaOrg.svelte.
-
Open Graph SEO in SvelteKit: Custom Share Images
We include the two images mentioned earlier. In the generated page you might get problems generating WhatsApp social images if, in the page's HTML head section, the Open Graph image tags come after the first tag. I checked the generated code and this is not an issue here, using SvelteKit. If you are using other frameworks though, and have WhatsApp issues, it is worth checking and re-ordering the elements if needed.
💯 Open Graph SEO in SvelteKit: Test
As always our last step is to test this all works. As with the Twitter meta, there is a tool for checking Open Graph meta. This is the Facebook Sharing Debugger. To use it, you will need to have a Facebook account and to log in.
You can ignore the warning about the missing
fb:app_id
property (see above).🙌🏽 Open Graph SEO in SvelteKit: Wrapup
That's it for this post. We looked at:
- what Open Graph SEO meta you should include in your website pages and posts,
- how to generate Open Graph SEO in SvelteKit,
- testing you Open Graph metadata.
In the previous post on SvelteKit SEO, as well as an introduction to SEO in general, we looked at adding SEO meta for Twitter, which is used for Twitter, Slack and other apps. In the next post in the series we will step up a gear and look at the more advanced Schema.org meta you can start including on your site pages. SchemaOrg is a protocol designed to let browsers understand what a website page is about. Using it can lead to higher ranking in Google and more prominent display of your page in search results pages. Looking forward to running through this!
You can see the code for the story so far on the Rodney Lab Git Hub repo.
🙏🏽 Open Graph SEO in SvelteKit: Feedback
Please send feedback! Have you found the post useful? Would you like to see posts on another topic instead? Get in touch with ideas for new posts. Also if you like my writing style, get in touch if I can write some posts for your company site on a consultancy basis. Read on to find ways to get in touch, further below. If you want to support posts similar to this one and can spare a couple of dollars, rupees, euros or pounds, please consider supporting me through Buy me a Coffee.
Finally, feel free to share the post on your social media accounts for all your followers who will find it useful. As well as leaving a comment below, you can get in touch via @askRodney on Twitter and also askRodney on Telegram. Also, see further ways to get in touch with Rodney Lab. I post regularly on SvelteKit as well as other topics. Also subscribe to the newsletter to keep up-to-date with our latest projects.
-
SvelteKit SEO: Search Engine Optimisation Metadata
You can see the code for the story so far on the Rodney Lab Git Hub repo.
What are some alternatives?
Urara - 🌸 Sweet, Powerful, IndieWeb-Compatible SvelteKit Blog Starter. [δ](Delta)
sveltekit-starter - Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
sveltekit-blog-template - A SvelteKit blog template
sveltekit-blog-mdx - SvelteKit MDX starter blog with MDsveX (Svelte in markdown)
vim-shortcut-blog - Use Vim keyboard shortcuts on you blog: how to make it easy for Vim users to jump around your Svelte blog site with a keyboard and no mouse!
opengraph - A python module to parse the Open Graph Protocol
astro-blog-markdown - Starter for a fast Astro blog using Markdown and a spot of Svelte
SveltePress - Documentation for humans.
sveltekit-hcaptcha-form - SvelteKit hCaptcha contact form: see how you can scare bots away from your Svelte site using a privacy focussed captcha service.
sveltekit-faq-page-seo - SvelteKit FAQ Page SEO: how you can use ❤️ Svelte's SEO friendliness to create a FAQ page with JSON-LD SchemaOrg SEO meta loved by Google.
QWER - ✒︎ Simply Awesome Blog Starter built with SvelteKit and Love ❤.
website - Gitpod website and documentation