From 9f097eb30e867d1c26f9847d578e9cb46366a7a3 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 24 Aug 2021 17:05:27 +0200 Subject: added static website generation with hugo and hugo-xmin theme --- hugo/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hugo/README.md (limited to 'hugo/README.md') diff --git a/hugo/README.md b/hugo/README.md new file mode 100644 index 0000000..70c53a0 --- /dev/null +++ b/hugo/README.md @@ -0,0 +1,15 @@ +# Static website +www.sigsum.org can be generated as a static website using [hugo](https://gohugo.io) +and the [hugo-xmin](https://github.com/yihui/hugo-xmin) theme. + +## One-time setup +1. Install `hugo` +1. Initialize theme: `git submodule update --init --recursive` + +## Test locally +1. Run `hugo serve` +2. Browse http://localhost:1313 + +## Generate +1. Run `hugo` +2. Static website is now located in `public` -- cgit v1.2.3