that took longer than i would have liked
This commit is contained in:
parent
77c88bffcd
commit
b2ff9ecce9
7
build-temp/ClientSubmission.yml
Normal file
7
build-temp/ClientSubmission.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: "First Middle Last Resume"
|
||||||
|
header-left: "\\hspace{1cm}"
|
||||||
|
header-center: "\\leftmark"
|
||||||
|
header-right: "Page \\thepage"
|
||||||
|
footer-left: "First Middle Last"
|
||||||
|
urlcolor: blue
|
||||||
|
page-background: "../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds"
|
12
build-temp/JobBoard.yml
Normal file
12
build-temp/JobBoard.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
title: "First Middle Last Resume"
|
||||||
|
titlepage: true
|
||||||
|
titlepage-logo: ""
|
||||||
|
date: \today
|
||||||
|
header-left: "\\hspace{1cm}"
|
||||||
|
header-center: "\\leftmark"
|
||||||
|
header-right: "Page \\thepage"
|
||||||
|
footer-left: "First Middle Last"
|
||||||
|
footer-center: "Your.Tagline.Here."
|
||||||
|
footer-right: "[Source code for this resume](https://github.com/reachableceo)"
|
||||||
|
urlcolor: blue
|
||||||
|
page-background: "../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds"
|
@ -7,6 +7,6 @@ header-center: "\\leftmark"
|
|||||||
header-right: "Page \\thepage"
|
header-right: "Page \\thepage"
|
||||||
footer-left: "{{CandidateName}}"
|
footer-left: "{{CandidateName}}"
|
||||||
footer-center: "{{CandidateTagline}}"
|
footer-center: "{{CandidateTagline}}"
|
||||||
footer-right: "[Source code for this resume]({{ResumeSourceCode}}"
|
footer-right: "[Source code for this resume]({{ResumeSourceCode}})"
|
||||||
urlcolor: {{URLCOLOR}}
|
urlcolor: {{URLCOLOR}}
|
||||||
page-background: "{{PAGEBACKGROUND}}"
|
page-background: "{{PAGEBACKGROUND}}"
|
@ -1,25 +1,25 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh"
|
#source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh"
|
||||||
|
|
||||||
# Load environment variables
|
|
||||||
source "./ResumeVariables.env"
|
|
||||||
|
|
||||||
# Setup globals
|
# Setup globals
|
||||||
|
#readonly BUILD_OUTPUT_DIR="../build-output"
|
||||||
readonly BUILD_TEMP_DIR="../build-temp"
|
readonly BUILD_TEMP_DIR="../build-temp"
|
||||||
readonly BUILD_OUTPUT_DIR="../build-output"
|
readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml"
|
||||||
readonly BUILD_YAML_JOB_BOARD="$BUILD_TEMP_DIR/BuildJobBoard.yml"
|
readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml"
|
||||||
readonly BUILD_YAML_CLIENT_SUBMISSION="$BUILD_TEMP_DIR/BuildClientSubmission.yml"
|
|
||||||
|
|
||||||
readonly CANDIDATE_NAME="$CandidateName"
|
#TODO make this work. For now, editing this script and setting the below export lines is required.
|
||||||
readonly CANDIDATE_LOGO="$CandidateLogo"
|
#source ./ResumeVariables.env
|
||||||
readonly CANDIDATE_TAGLINE="$CandidateTagline"
|
|
||||||
readonly RESUME_SOURCE_CODE="$ResumeSourceCode"
|
|
||||||
readonly URL_COLOR="$URLCOLOR"
|
|
||||||
readonly PAGE_BACKGROUND="$PAGEBACKGROUND"
|
|
||||||
|
|
||||||
# Expand variables into rendered YAML files
|
export CandidateName="First Middle Last"
|
||||||
./mo "MarkdownResume-BuildTemplateInput-ClientSubmission.yml" > "$BUILD_YAML_CLIENT_SUBMISSION"
|
export CandidateLogo=""
|
||||||
./mo "MarkdownResume-BuildTemplateInput-JobBoard.yml" > "$BUILD_YAML_JOB_BOARD"
|
export CandidateTagline="Your.Tagline.Here."
|
||||||
|
export ResumeSourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline"
|
||||||
|
export URLCOLOR="blue"
|
||||||
|
export PAGEBACKGROUND="../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds"
|
||||||
|
|
||||||
|
# Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts
|
||||||
|
|
||||||
|
./mo ./BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD
|
||||||
|
./mo ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION
|
Loading…
Reference in New Issue
Block a user