Add support for easy hosting custom personal files

This commit is contained in:
ItsDrike 2022-02-08 20:04:02 +01:00
parent 77641feecc
commit ce49bfdf86
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -19,5 +19,8 @@ node_modules/
# Backup files
*.bak
# Other extra files that I'm hosting on the website for personal use
etc/
# Personal TODO files
TODO

View file

@ -22,5 +22,6 @@ hugo gen chromastyles --style=monokai > "$STATIC_BUILD/css/highlight.css"
mkdir -p "$STATIC_BUILD/scss"
cp -r "$STATIC_SRC/scss"/* "$STATIC_BUILD/scss"
hugo -vDEF --gc $@
ln -s ../etc "$OUTPUT_DIR/etc"