and now with a properly templatized candidate info sheet
This commit is contained in:
14
build/BuildTemplate-CandidateInfoSheet.yml
Normal file
14
build/BuildTemplate-CandidateInfoSheet.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
title: "{{CandidateName}} Candidate Detail Sheet"
|
||||
titlepage: true
|
||||
titlepage-logo: "{{CandidateLogo}}"
|
||||
toc: true
|
||||
toc-own-page: true
|
||||
date: \today
|
||||
header-left: "\\hspace{1cm}"
|
||||
header-center: "\\leftmark"
|
||||
header-right: "Page \\thepage"
|
||||
footer-left: "{{CandidateName}}"
|
||||
footer-center: "{{CandidateTagline}}"
|
||||
footer-right: "[Source code]({{CandidateInfoSheetSourceCode}})"
|
||||
urlcolor: {{URLCOLOR}}
|
||||
page-background: "{{PAGEBACKGROUND}}"
|
@@ -1,25 +1,78 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
###################################################
|
||||
# Modify these values to suit
|
||||
###################################################
|
||||
|
||||
|
||||
########################
|
||||
# Contact info
|
||||
########################
|
||||
|
||||
export CandidateName="First Middle Last"
|
||||
export CandidatePhone="1 123 456 7890"
|
||||
export CandidateLocation="Place 1/Place 2"
|
||||
export CandidateEmail="candidate@domain.com"
|
||||
|
||||
########################
|
||||
# Profile information
|
||||
########################
|
||||
|
||||
export CandidateOneLineSummary="Super awesome and stuff."
|
||||
export CandidateLinkedin="linkedin.com"
|
||||
export CandidateGithub="github.com"
|
||||
export CandidateLogo=""
|
||||
export CandidateLinkedin="https://www.linkedin.com/"
|
||||
export CandidateGithub="https://www.github.com/"
|
||||
export CandidateTagline="Your.Tagline.Here."
|
||||
|
||||
########################
|
||||
# Formatting options
|
||||
########################
|
||||
|
||||
export CandidateLogo=""
|
||||
export ResumeSourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline"
|
||||
export CandidateInfoSheetSourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline"
|
||||
export URLCOLOR="blue"
|
||||
export PAGEBACKGROUND="../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds/background3.pdf"
|
||||
|
||||
##########################
|
||||
# Candidate info sheet
|
||||
##########################
|
||||
|
||||
export CandidatePreferredContactMethod="Email will get the fastest response."
|
||||
export CandidateWorkAuthorization="US Citizen"
|
||||
export CandidateEmploymentStatus="Not currently employed"
|
||||
export CandidateCurrentLocation="City,State,Country etc"
|
||||
export CandidateCurrentTimezone="Timezone"
|
||||
export CandidateWorkableTimezones="Timezones"
|
||||
export CandidateInterviewAvailability="Sometime"
|
||||
export CandidateStartAvailability="Sometime"
|
||||
export CandidateHighestEducation="Some education level"
|
||||
export CandidateGraduationYear="Graduation year"
|
||||
export CandidateSchoolName="School name"
|
||||
export CandidateSchoolLocation="School location"
|
||||
export CandidateLastProject="Last project"
|
||||
export CandidateDOB="MM/DD"
|
||||
export CandidateTotalExperience="epoch"
|
||||
|
||||
|
||||
########################
|
||||
#Compensation targets
|
||||
########################
|
||||
|
||||
export CandidateRelocationNetMinimumAmount="1,987.11"
|
||||
|
||||
export CandidateRateSheetRemoteW2HourlyMinimum="\$12.34"
|
||||
export CandidateRateSheetRemoteW2AnnualMinimum="\$123,456.00"
|
||||
export CandidateRateSheetRemote1099HourlyMinimum="\$56.78"
|
||||
|
||||
export CandidateRateSheetRemoteW2HourlyPrefer="\$34.56"
|
||||
export CandidateRateSheetRemoteW2AnnualPrefer="\$321,987.00"
|
||||
export CandidateRateSheetRemote1099HourlyPrefer="\$78.90"
|
||||
|
||||
####################################################
|
||||
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
||||
####################################################
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
#source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh"
|
||||
|
||||
############################################################
|
||||
# Setup globals
|
||||
############################################################
|
||||
@@ -29,8 +82,10 @@ readonly BUILD_OUTPUT_DIR="../build-output"
|
||||
readonly BUILD_TEMP_DIR="../build-temp"
|
||||
readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml"
|
||||
readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml"
|
||||
readonly BUILDYAML_CANDIDATEINFOSHEET="$BUILD_TEMP_DIR/CandidateInfoSheet.yml"
|
||||
|
||||
echo "Cleaning up from previous runs..."
|
||||
CandidateInfoSheetMarkdownOutputFile="$BUILD_OUTPUT_DIR/CandidateInfoSheet.md"
|
||||
CandidateInfoSheetPDFOutputFIle="$BUILD_OUTPUT_DIR/CandidateInfoSheet.pdf"
|
||||
|
||||
JobBoardMarkdownOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.md"
|
||||
JobBoardPDFOutputFile="$BUILD_OUTPUT_DIR/job-board/Resume.pdf"
|
||||
@@ -40,6 +95,12 @@ ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.m
|
||||
ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submission//Resume.pdf"
|
||||
ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submission/Resume.doc"
|
||||
|
||||
echo "Cleaning up from previous runs..."
|
||||
|
||||
rm $BUILDYAML_CANDIDATEINFOSHEET
|
||||
rm $CandidateInfoSheetMarkdownOutputFile
|
||||
rm $CandidateInfoSheetPDFOutputFIle
|
||||
|
||||
rm $BUILDYAML_JOBBOARD
|
||||
rm $JobBoardMarkdownOutputFile
|
||||
rm $JobBoardPDFOutputFile
|
||||
@@ -52,9 +113,26 @@ rm $ClientSubmissionMSWordOutputFile
|
||||
|
||||
# Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts
|
||||
|
||||
$MO_PATH ./BuildTemplate-CandidateInfoSheet.yml > $BUILDYAML_CANDIDATEINFOSHEET
|
||||
$MO_PATH ./BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD
|
||||
$MO_PATH ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION
|
||||
|
||||
echo "Creating candidate info sheet..."
|
||||
|
||||
$MO_PATH ../Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile
|
||||
|
||||
pandoc \
|
||||
"$CandidateInfoSheetMarkdownOutputFile" \
|
||||
--template eisvogel \
|
||||
--metadata-file="../build-temp/CandidateInfoSheet.yml" \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output $CandidateInfoSheetPDFOutputFIle
|
||||
|
||||
|
||||
exit
|
||||
|
||||
|
||||
echo "Combining markdown files into single input file for pandoc..."
|
||||
|
||||
# Create contact info md file
|
||||
|
Reference in New Issue
Block a user