From c9276d6c8542f0b1a2971574060d5de383e7e4d3 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 12 Jan 2026 20:47:39 -0500 Subject: resume webfonts --- Makefile | 2 +- hugo.toml | 56 +++++++++++++++++++++++++++++++++++++++++++ static/resume | 2 +- themes/aoidh/assets/aoidh.css | 7 ++++-- 4 files changed, 63 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6f5875e..992181e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ build: hugo build publish: build - rsync -rz public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/ + rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/ serve: hugo serve -DEF diff --git a/hugo.toml b/hugo.toml index 559985e..519eaed 100644 --- a/hugo.toml +++ b/hugo.toml @@ -33,3 +33,59 @@ theme = 'aoidh' name = 'Projects' pageRef = '/projects' weight = 5 + +[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/static/resume b/static/resume index 2e88321..f30c75c 160000 --- a/static/resume +++ b/static/resume @@ -1 +1 @@ -Subproject commit 2e88321504df2fe0f3427f19bb84251926bb3140 +Subproject commit f30c75cb3e32bd15c54a028cc07b78a7e9809bfe diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css index 2f30b33..a761a50 100644 --- a/themes/aoidh/assets/aoidh.css +++ b/themes/aoidh/assets/aoidh.css @@ -8,6 +8,7 @@ --dark-gray: #888; --pagewidth: 60rem; + --textwidth: 45rem; --parspace: .6em; --letter-page-width: 8.5in; @@ -36,7 +37,7 @@ body { #content { margin: 0 auto; - max-width: 45rem; + max-width: var(--textwidth); } header { @@ -196,8 +197,10 @@ ul { iframe { display: block; + box-sizing: border-box; width: 100%; - height: var(--letter-page-height); + height: 90vh; + padding: .4rem; border: 1px solid var(--dark-yellow); box-shadow: 2px 2px var(--dark-yellow); } -- cgit v1.2.3