Documentation | Fragments
You can use Syna by adding it as a submodule to your website repository and pointing the submodule to the latest release.
This way whenever you want to update the theme you can just pull the updates and checkout to the latest tag.
git submodule init # If you haven't initialized before
git submodule add https://git.okkur.org/syna themes/syna
git checkout v0.17 # Latest release as of now is v0.17.4
You can visit Hugo’s documentation on installing themes for more information.
If you don’t have a site yet, you can use our starter.
Using the starter you will have a sample page with several fragment examples and you can use them to start building your own website.
git clone --recurse-submodules https://git.okkur.org/syna-start # --recurse-submodules will clone the theme
hugo server -D # to build your website, run hugo instead