summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.gitmodules3
-rw-r--r--Makefile14
-rw-r--r--hugo.toml56
m---------modules/fonts/plex0
m---------static/resume0
-rw-r--r--static/resume.pdfbin42475 -> 46900 bytes
m---------themes/aoidh0
8 files changed, 11 insertions, 63 deletions
diff --git a/.gitignore b/.gitignore
index c4b387a..9e0294d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/Makefile b/Makefile
index 606c1fc..ebcd1ae 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/hugo.toml b/hugo.toml
index d737e91..45197f2 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -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
index 1793e06..aae994f 100644
--- a/static/resume.pdf
+++ b/static/resume.pdf
Binary files differ
diff --git a/themes/aoidh b/themes/aoidh
-Subproject 18d0eb02ee0e9f199ff755d58dea7d523838f3c
+Subproject b4aab043b469a136b9d2fd75d61212dc067b641