Introducing Sambal - a linked data static site generator that uses schema.org json-ld as the content model #2968
chen4119
started this conversation in
Show and tell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Happy to kick off the first discussion on show & tell! Introducing Sambal, a linked data static site generator that uses schema.org json-ld as the content model.
Check out https://sambal.dev for documentation or https://github.com/chen4119/sambal for the source code.
I decided to develop this because I thought there's a lot of benefit by simply using schema.org json-ld to create content in the first place rather than transform your data to schema.org at the end. No need to model your own schema, no need to worry about vendor lock-in, and best of all, it's SEO ready! By natively supporting schema.org json-ld, Sambal has 3 major benefits over other static site generators.
It can automatically add application/ld+json, facebook, and twitter metadata tags to your webpage.
You can build UI themes based on the semantic meaning of your data and not rely on the property name of your data. To illustrate the difference, it's unambiguous what blogpost tags are but you can encode tags in your blogpost with many names, i.e. keywords, categories, tags, etc. By relying solely on property names, UI themes are brittle in nature.
Leverage the power of linked data. Unlike plain old json, json-ld can reference other data fragments with a url. No more duplicating data in static markdown or yaml file.
Will appreciate any thoughts or comments or if you have the chance to try it out, happy to hear what is confusing or doesn't work. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions