For a full description of how to do changes to Baksia, please read CONTRIBUTING.md.
Requirements: Hugo (extended)
- Clone repo:
git clone https://github.com/digdir/baksia --recurse-submodules --remote-submodules
- Navigate to folder and run Hugo:
cd baksia
- Install requirements
npm install
- Run site locally
hugo serve --navigateToChanged
- Application available locally at: http://localhost:1313
For content editors:
You may encounter something like this
{{< icon class="prod-li-start-icon" >}}
which is a called a shortcode in Hugo. These are used to render a specific type of a content, which content editors should ignore.
In the example above, the shortcode renders an icon.