summaryrefslogtreecommitdiffstats
path: root/update_resume
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-09-18 10:54:45 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-09-18 10:55:22 -0500
commite0b4ed34e9b82b1a07a73cb9e464e224c8532d44 (patch)
tree9596c4869f1213d06edb6a6d62e5e477fb6d4b92 /update_resume
parentAdd fediverse tag (diff)
downloadwebsite-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar.gz
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar.bz2
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar.lz
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar.xz
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.tar.zst
website-e0b4ed34e9b82b1a07a73cb9e464e224c8532d44.zip
Update CV to look less ugly
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'update_resume')
-rwxr-xr-xupdate_resume19
1 files changed, 19 insertions, 0 deletions
diff --git a/update_resume b/update_resume
new file mode 100755
index 0000000..ee96a19
--- /dev/null
+++ b/update_resume
@@ -0,0 +1,19 @@
+#!/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
+# Make my name more prominent :)
+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 = "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