this repo has no description
Content Types#
Sitebase is designed to be flexible and work with any standard.site data. However, due to the potential complexity of working with app-specific content types like those of leaflet.pub or pckt.blog, currently support is limited for working with them.
As defined in the lexicon documentation, sitebase defines two simple content lexicons: pub.sitebase.content.html and pub.sitebase.content.markdown.
Content Type Handling in CLI#
The CLI only supports editing documents with sitebase content types:
Content $type |
doc edit |
doc view |
doc export |
|---|---|---|---|
pub.sitebase.content.markdown |
Supported | Supported | Supported |
pub.sitebase.content.html |
Supported | Supported | Supported |
| Other (pckt.blog, etc.) | Blocked | Supported (raw display) | Supported (raw content) |
When doc edit encounters a non-sitebase content type:
Error: Cannot edit document with content type "blog.pckt.content.block"
Sitebase only supports editing documents with pub.sitebase.content.* types.
Use `doc view` to inspect the document.