Personal website and blog
3d | ||
animation | ||
art | ||
assets | ||
content | ||
data | ||
guestart | ||
resources/_gen/images | ||
scripts | ||
static | ||
themes | ||
.build.yml | ||
.gitignore | ||
config.yaml | ||
LICENSE | ||
README.md |
redstrate.com
This is the source code of my personal website hosted at redstrate.com.
Building
You need Hugo (extended edition) to build the site, and optionally Python to run miscellaneous scripts.
To build the site, just run hugo
and the built site will appear in public
.
$ cd redstrate.com
$ hugo
For quick development, Hugo has a built-in HTTP server that auto-reloads on changes:
$ cd redstrate.com
$ hugo server
Art
The art gallery is defined via JSON (in art
, and other directories in site root) and uses Python to generate the front-matter Markdown files that Hugo consumes. To refresh the gallery, re-run scripts/gen_art.py
.