From 91303191c524ab03c5b0a9a6766a8435276a867c Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sun, 11 Aug 2019 11:31:36 -0400 Subject: Added resume, contact pages, updated css and added new post. --- _scripts/resume.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 _scripts/resume.sh (limited to '_scripts') diff --git a/_scripts/resume.sh b/_scripts/resume.sh new file mode 100755 index 0000000..4ee93ca --- /dev/null +++ b/_scripts/resume.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +INFILE="$1" +CSSFILE="$2" +OUTFILE="$(echo "$1" | cut -d'.' -f1).pdf" + +PD=$(which pandoc) +PDFLAGS="--from=markdown_mmd+yaml_metadata_block+smart --standalone" +WK=$(which wkhtmltopdf) +WKFLAGS="-B 25mm -T 25mm -L 25mm -R 25mm -q -s Letter" + +"$PD" "$PDFLAGS" --to=html -V css="$CSSFILE" "$INFILE" | "$WK" "$WKFLAGS" - "$OUTFILE" + -- cgit v1.2.3