summaryrefslogtreecommitdiffstats
path: root/update_resume
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xupdate_resume (renamed from update_resume.sh)5
1 files changed, 4 insertions, 1 deletions
diff --git a/update_resume.sh b/update_resume
index 142cd6e..ee96a19 100755
--- a/update_resume.sh
+++ b/update_resume
@@ -1,4 +1,6 @@
#!/bin/sh
+set -e
+
pandoc --from latex+ascii_identifiers ./resume.tex --to commonmark+ascii_identifiers -o content/resume.md
sed -i 's/^# /## /g' content/resume.md
@@ -8,9 +10,10 @@ sed -i '3 s/./# &/' content/resume.md
# Add the hugo stuff
sed -i '1s/^/If you want it as a PDF, [contact me](\/about\/\#contact)\n\n --- \n\n/' content/resume.md
sed -i '1s/^/+++\n\n/' content/resume.md
+sed -i '1s/^/fediverseCreator = "@me@mattstrapp.net"\n/' content/resume.md
sed -i '1s/^/author = "Matt Strapp"\n/' content/resume.md
sed -i '1s/^/aliases = ["portfolio", "resume"]\n/' content/resume.md
-sed -i '1s/^/date = "2022-10-12"\n/' content/resume.md
+sed -i '1s/^/date = "1970-01-01"\n/' content/resume.md
sed -i '1s/^/description = "About me"\n/' content/resume.md
sed -i '1s/^/title = "Resume"\n/' content/resume.md
sed -i '1s/^/+++\n/' content/resume.md