Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.19 KB

Baksia

https://baksia.digdir.no

Run site locally

For a full description of how to do changes to Baksia, please read CONTRIBUTING.md.

Requirements: Hugo (extended)

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

Theme & design

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.