From 4a22ce5d9dd64d45555e7d18fc780b54b3f4ec86 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 26 Feb 2026 11:06:23 -0500 Subject: publish on ipfs --- Makefile | 3 +++ hugo.toml | 1 + 2 files changed, 4 insertions(+) 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] -- cgit v1.2.3