Go-based static site generator HUGO running via binder served sessions.
An introductory notebook that steps through a quick start with Hugo opens upon session launch.
Step through the introductory notebook to see how to use Hugo in sessions launched from here.
-
Hugo
Apt install only is getting version 0.40. So don't useapt.txt
as route to install. ThepostBuild
file in this repo details the approach because the documented install presently listed for Linux isn't compatible with MyBinder/Binder. On the postive side the installation is easy once you know which route to use because the application itself is rather self-contained.
Installed extended version of HUGO as Docsy theme needs that. Also installed postCSS following 'Prerequisites' for Docsy theme listed here. -
Go
This repo results in a system with current version (go1.13.6 when entergo version
in the terminal) of Go language on it. This is important because athough you can useapt.txt
to install the go language, as based on here, that currently is way beyond (version 1.10 something). I didn't realize until later that you only need Go installed if you are compiling Hugo from source, see here. However, leaving here because nice to have installation of current Go language worked out for the MyBinder.org/Binder system, and I may think 'Go language' when I think of 'Hugo'. Later moved what I learned about Go installation in the MyBinder.org/Binder system to my fork of pixterm to binderize it, because that one indeed says you need the compiler here.