Skip to content

Altinn/hugo-theme-altinn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Altinn Hugo Theme

This repository contains a theme for Hugo, based on great docdock. A big thanks to Valere Jeantet.

Example

Main features

  • Sticky sidebar inside resizable grid
  • Jumbotron on firstpage
  • Altinn design
  • Blue and gray theme variations
  • Clickable figures with caption using standard markdown image syntax
  • Attachments files
  • Search using lunr.js
  • Unlimited menu levels
  • List child pages
  • Table of contents when enabled in front matter (toc: true)
  • Reveal.js presentation from markdown (embededed or fullscreen page)
  • Include segment of content from one page in another (Excerpt)
  • Mermaid diagrams
  • Icons, Buttons, Alerts, Panels, Tip/Note/Info/Warning boxes

Installation

Navigate to your themes folder in your Hugo site and use the following commands:

$ cd themes
$ git clone https://github.com/altinn/hugo-theme-altinn.git

Check that your Hugo version is minimum 0.55 with hugo version.