diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | Makefile | 14 | ||||
| -rw-r--r-- | hugo.toml | 56 | ||||
| m--------- | modules/fonts/plex | 0 | ||||
| m--------- | static/resume | 0 | ||||
| -rw-r--r-- | static/resume.pdf | bin | 42475 -> 46900 bytes | |||
| m--------- | themes/aoidh | 0 |
8 files changed, 11 insertions, 63 deletions
@@ -1,2 +1,3 @@ .hugo_build.lock public/ +static/resume.png diff --git a/.gitmodules b/.gitmodules index 6412e04..230bbb5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,6 @@ [submodule "static/resume"] path = static/resume url = https://git.samanthony.xyz/resume -[submodule "static/fonts/plex"] - path = modules/fonts/plex - url = https://github.com/IBM/plex.git [submodule "themes/aoidh"] path = themes/aoidh url = https://git.samanthony.xyz/aoidh @@ -1,13 +1,15 @@ +MODS = themes/aoidh static/resume + build: static/resume.png hugo build 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 {}" + $(eval CID := $(shell ipfs add -r public | tail -n1 | awk '{print $$2}')) \ + ssh m900 "IPFS_PATH=/var/kubo ipfs pin add -r ${CID}" + ipfs name publish --key=www.samanthony.xyz ${CID} -serve: +serve: build hugo serve -DEF clean: @@ -15,3 +17,7 @@ clean: static/resume.png: static/resume.pdf gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=$@ $< + +${MODS}: + git submodule init + git submodule update --recursive @@ -32,59 +32,3 @@ relativeURLs = true name = 'Projects' pageRef = '/projects' weight = 4 - -[module] - [[module.mounts]] - source = 'modules/fonts/plex/packages/plex-serif/fonts/split/woff2' - target = 'static/fonts/plex/packages/plex-serif/fonts/split/woff2' - - # Default mounts - [[module.mounts]] - disableWatch = false - source = 'content' - target = 'content' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'data' - target = 'data' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'layouts' - target = 'layouts' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'i18n' - target = 'i18n' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'archetypes' - target = 'archetypes' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'assets' - target = 'assets' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] - [[module.mounts]] - disableWatch = false - source = 'static' - target = 'static' - [module.mounts.sites] - [module.mounts.sites.complements] - [module.mounts.sites.matrix] diff --git a/modules/fonts/plex b/modules/fonts/plex deleted file mode 160000 -Subproject bb3ab6404e1881ea286f8742dc839e09057db6d diff --git a/static/resume b/static/resume -Subproject 0b4568b92838ab9e7e1208634ee18e27d4f6d7e +Subproject acc1c925dc319ca6d90584daa64dbdacef6f984 diff --git a/static/resume.pdf b/static/resume.pdf Binary files differindex 1793e06..aae994f 100644 --- a/static/resume.pdf +++ b/static/resume.pdf diff --git a/themes/aoidh b/themes/aoidh -Subproject 18d0eb02ee0e9f199ff755d58dea7d523838f3c +Subproject b4aab043b469a136b9d2fd75d61212dc067b641 |