Back to top

Installation

Adding Syna to your site

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://github.com/okkur/syna.git themes/syna
cd themes/syna
git checkout v0.12.0 # Latest release as of now is v0.12.0

You can visit Hugo’s documentation on installing themes for more information.

Using starter

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://github.com/okkur/syna-start.git # --recurse-submodules will clone the theme
cd syna-start
hugo server -D # to build your website, run hugo instead