/baksia-cms-test

Hvordan digdir jobber og er organisert

Primary LanguageHTML

Baksia

Run site locally

Requirements: Hugo (extended)

  1. Clone repo:
git clone https://github.com/digdir/baksia --recurse-submodules --remote-submodules
  1. Navigate to folder and run Hugo:
cd baksia
  1. Install requirements
npm install
  1. Run site locally
hugo serve --navigateToChanged
  1. Application available locally at: localhost:1313

Theme

Shortcodes

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.