A theme for Spine websites based on Hugo engine.
It provides:
- reusable layouts and partials;
- custom shortcodes for documentation-heavy content;
- shared styling and UI components used across Spine web projects.
- Go
1.12or newer. - Hugo Extended in version
v0.150.0or higher.
-
Initialize your Hugo website as the Hugo Module:
hugo mod init github.com/SpineEventEngine/<repo-name>
-
Add this theme import to your
hugo.tomlconfiguration file:[module] [[module.imports]] path = 'github.com/SpineEventEngine/site-commons'
-
Get theme updates:
hugo mod get -u github.com/SpineEventEngine/site-commons
-
Commit and push changes from
go.modandgo.sumfiles.
Use the theme as the base for the site templates and content rendering.
See the guide for all theme components and examples.
When editing this theme:
- keep components and shortcodes reusable;
- update the guide when adding or changing components.