Our blog as a set of static pages.
http://zero-knowledge.org
content | ||
static | ||
templates | ||
vendor | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Makefile | ||
README.md |
zblog
This is the third version of the zero-knowledge.org blog. This is generated with hugo.
how to use
Either start a small server which refreshes the pages on change with
hugo server --watch --verbose --buildDrafts
or generate everything with
hugo
documentation
The documentation on the markdown format can be found on the blackfriday project page.
building and installation
To build and install the website, use the following commands:
make clean install
The website is built automatically into the public/ directory.
You can also add a number of variables, to modify the installation process.
# install http files into this directory
HTTPDIR=/tmp/zblog
# give all files to this owner after copy
OWNER != id -u
# give all files to this group after copy
GROUP != id -g
# set this mode on all directories
DIRMODE = 554
# set this mode on all files
FILEMODE = 444