summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--hugo.toml1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8faa061..606c1fc 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ build: static/resume.png
publish: build
rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/
+ ipfs add -r public \
+ | tail -n1 | awk '{print $$2}' \
+ | xargs -I{} ssh samanthony.xyz "IPFS_PATH=/var/kubo ipfs pin add -r {}"
serve:
hugo serve -DEF
diff --git a/hugo.toml b/hugo.toml
index 8b827af..d737e91 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -3,6 +3,7 @@ languageCode = 'en-us'
title = 'Sam Anthony'
theme = 'aoidh'
enableGitInfo = true
+relativeURLs = true
[params]
[params.author]