summaryrefslogtreecommitdiffstats
path: root/update_resume.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--update_resume.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/update_resume.sh b/update_resume.sh
new file mode 100644
index 0000000..acad4cf
--- /dev/null
+++ b/update_resume.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+pandoc --from latex+ascii_identifiers ./resume.tex --to commonmark+ascii_identifiers -o content/resume.md
+
+# Add the hugo stuff
+sed -i '1s/^/+++\n\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/^/description = "About me"\n/' content/resume.md
+sed -i '1s/^/title = "Resume"\n/' content/resume.md
+sed -i '1s/^/+++\n/' content/resume.md