From 835db4cc5c770f6fd7424bc909bde5e998accd5e Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 19 May 2020 18:20:34 -0400 Subject: [PATCH] adding renderer, etc. --- cv.adoc | 2 ++ render.sh | 8 ++++++++ resume.adoc | 7 ++++++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 render.sh diff --git a/cv.adoc b/cv.adoc index 5da13eb..d2fc3c8 100644 --- a/cv.adoc +++ b/cv.adoc @@ -26,6 +26,8 @@ include::includes/values.adoc[] include::includes/accomplish.adoc[] +include::includes/skills.adoc[] + include::includes/exp.adoc[] include::includes/exp2.adoc[] diff --git a/render.sh b/render.sh new file mode 100755 index 0000000..69a180f --- /dev/null +++ b/render.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# asciidoctor -B /opt/dev/resume -D /tmp/resume -n /opt/dev/resume/cv.adoc +asciidoctor -D /srv/http/resume -n cv.adoc +asciidoctor -D /srv/http/resume -n resume.adoc + +asciidoctor-pdf -D /srv/http/resume/pdf -n -d article cv.adoc +asciidoctor-pdf -D /srv/http/resume/pdf -n -d article resume.adoc diff --git a/resume.adoc b/resume.adoc index e98d44b..f153776 100644 --- a/resume.adoc +++ b/resume.adoc @@ -1,5 +1,10 @@ = Résumé +ifeval::["{filetype}" == "pdf"] Brent Saner | +1 (504) 338-1513 | Lehigh Valley area, PA +endif::[] +ifeval::["{filetype}" != "pdf"] +Brent Saner +endif::[] Last updated {localdatetime} :doctype: book :data-uri: @@ -20,7 +25,7 @@ include::includes/intro.adoc[] include::includes/accomplish.adoc[] -//include::includes/exp.adoc[] +include::includes/skills.adoc[] include::includes/exp2.adoc[]