diff options
author | Adam Carpenter <gitlab@53hor.net> | 2019-08-11 11:31:36 -0400 |
---|---|---|
committer | Adam Carpenter <gitlab@53hor.net> | 2019-08-11 11:31:36 -0400 |
commit | 91303191c524ab03c5b0a9a6766a8435276a867c (patch) | |
tree | 63d6194478e2e2b4648b5275125128b26b1de2cd /_scripts | |
parent | 3ba17449541c00757e6c3701c8a87fc0435f0267 (diff) | |
download | cobalt-site-91303191c524ab03c5b0a9a6766a8435276a867c.tar.xz cobalt-site-91303191c524ab03c5b0a9a6766a8435276a867c.zip |
Added resume, contact pages, updated css and added new post.
Diffstat (limited to '_scripts')
-rwxr-xr-x | _scripts/resume.sh | 13 |
1 files changed, 13 insertions, 0 deletions
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" + |