name: hugo
version: "v0.17-DEV"
summary: Fast and Flexible Static Site Generator
description: |
  Hugo is a static HTML and CSS website generator written in Go. It is
  optimized for speed, easy use and configurability. Hugo takes a directory
  with content and templates and renders them into a full HTML website.
confinement: strict
grade: devel # use "stable" to assert the snap quality

apps:
  hugo:
    command: bin/hugo
    plugs: [home]

parts:
  hugo:
    source: .
    plugin: go
    go-importpath: "github.com/spf13/hugo"
    build-packages:
      - git
