Skip to content

annerisbakk/baksia

 
 

Repository files navigation

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.

About

Hvordan digdir jobber og er organisert

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 90.8%
  • SCSS 9.2%