A port of werc to Hugo
This theme is a “port” of the website (“anti-“)framework werc for the
Hugo static site generator.
I like many aspects of werc‘s UI/UX design. However, there are reasons
that I (and others) will use Hugo (or some other static site
generator) instead:
This is intended to mimick werc as closely as possible, with minimal
user-specific changes. Hugo-izing changes are made so that the theme
works as expected with the HugoBasicExample and passes thebuildThemeSite.sh
test suite from the hugoThemes repository.
In the future, patch files may be added to /patches/
for optionally
toggling certain user preferences. Users are welcome and encouraged to
submit such patches for inclusion in the repository. See
https://suckless.org/hacking/ for more information about patches and
patching.
The theme is built with /updater.sh
, a POSIX-compliant Unix shell
script, to allow for reproducible builds. It takes in an arbitrary
werc source tree as input and outputs a corresponding Hugo theme. It
is designed for and tested with changeset 700 of werc‘s
official Mercurial repository. Using other versions may not work as
intended or cause errors. As of this writing, subsequent changes in the
upstream code have not affected the script’s output, which is what we
are interested in.
The development of this project is incomplete. Users are encouraged to
submit pull requests with changes, particularly in the following areas:
*diff*/*patch*
parent directory and display double arrows on the current file
(see *werc*).