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:
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.