david-swift f97222f65d Write docs for Duckling #4
Add template for localization
2025-04-11 16:51:27 +02:00

1.0 KiB

+++ weight = 0 title = "Getting Started" [extra] section = 0 +++

Duckling is a theme for the Zola static site generator. Follow the instructions in the Getting Started section in their documentation.

Installation

After having a Zola website setup, you can install the Duckling theme.

First, if you already have Git setup, add this theme as a submodule:

git submodule init
git submodule add https://git.aparoksha.dev/david-swift/duckling themes/duckling

Otherwise, simply clone it to your themes directory:

git clone https://git.aparoksha.dev/david-swift/duckling themes/duckling

It is highly recommended to switch from the main branch to the latest release:

cd themes/duckling
git checkout tags/v0.1.0

Then, enable it in your config.toml:

theme = "duckling"

To update the theme, simply switch to a new tag:

git submodule update --remote --merge
cd themes/duckling
git checkout tags/v0.1.0