Add many roles per company

This change to the resume schema allows you to list multiple roles per
company in your work experience.
main
Dozens B. McCuzzins 2024-01-04 14:46:10 -07:00
parent f2e5742990
commit 9d0088a601
5 changed files with 58 additions and 26 deletions

Binary file not shown.

View File

@ -29,6 +29,8 @@ url = "https://soundcloud.example.com/dandymusicnl"
[[work]] [[work]]
name = "Pied Piper" name = "Pied Piper"
location = "Palo Alto, CA" location = "Palo Alto, CA"
[[work.role]]
description = "Awesome compression company" description = "Awesome compression company"
position = "CEO/President" position = "CEO/President"
url = "http://piedpiper.example.com" url = "http://piedpiper.example.com"

View File

@ -4,11 +4,11 @@ default:
# format toml # format toml
fmt: fmt:
taplo fmt resume.toml taplo fmt example.toml
# validate toml # validate toml
validate: validate:
taplo lint resume.toml taplo lint example.toml
# create pdf # create pdf
pdf: pdf:

View File

@ -8,20 +8,23 @@
center tab(;); center tab(;);
cbx s cbx s
c s c s
c s c s.
lfI s. .\"cfI s.
.TH .TH
./" ============ ./" ============
./" == HEADER == ./" == HEADER ==
./" ============ ./" ============
{{#basics}} {{#basics}}
T{
.LG
{{name}} {{name}}
T}
{{email}} - {{phone}} {{email}} - {{phone}}
{{#profiles}} {{{url}}} {{/profiles}} {{#profiles}} {{{url}}} {{/profiles}}
.sp 1 .sp 1
T{ .\"T{
{{{summary}}} .\"{{{summary}}}
T} .\"T}
{{/basics}} {{/basics}}
.sp 1 .sp 1
. .
@ -31,27 +34,33 @@ T}
./" == WORK == ./" == WORK ==
./" ========== ./" ==========
.T& .T&
lbv2 s
- -
{{#work}} {{#work}}
lb r lb r
l r {{#role}}
lb r
{{#highlights}} {{#highlights}}
l s l s
{{/highlights}} {{/highlights}}
{{/role}}
{{/work}} {{/work}}
l l. l l.
{{#chicken}}Experience{{/chicken}}
{{#work}} {{#work}}
{{{name}}};{{{location}}} .sp 0.5
{{{position}}};{{#formatdate}}{{startDate}}{{/formatdate}}\*[-]{{#formatdate}}{{endDate}}{{/formatdate}} T{
.LG
.LG
{{{name}}}
T};{{{location}}}
{{#role}}
{{{position}}};{{startDate}}\*[-]{{endDate}}
{{#highlights}} {{#highlights}}
T{ T{
.IP \(bu .IP \(bu
{{{.}}} {{{.}}}
T} T}
{{/highlights}} {{/highlights}}
.sp 1 .sp 0.5
{{/role}}
{{/work}} {{/work}}
; ;
. .
@ -67,7 +76,11 @@ lb s
l s l s
{{/skills}} {{/skills}}
l s. l s.
T{
.LG
.LG
Skills Skills
T}
{{#skills}} {{#skills}}
{{{name}}}: {{#join}} {{{keywords}}} {{/join}} {{{name}}}: {{#join}} {{{keywords}}} {{/join}}
{{/skills}} {{/skills}}
@ -85,9 +98,13 @@ lb s
l r l r
{{/awards}} {{/awards}}
l r. l r.
T{
.LG
.LG
Awards Awards
T}
{{#awards}} {{#awards}}
{{title}}, {{awarder}};{{#formatdate}}{{date}}{{/formatdate}} {{title}}, {{awarder}};{{date}}
{{/awards}} {{/awards}}
; ;
. .
@ -103,9 +120,13 @@ lb s
l r l r
{{/education}} {{/education}}
l l. l l.
T{
.LG
.LG
Education Education
T}
{{#education}} {{#education}}
{{institution}}, {{area}};{{#formatdate}}{{startDate}}{{/formatdate}}\*[-]{{#formatdate}}{{endDate}}{{/formatdate}} {{institution}}, {{area}};{{startDate}}-{{endDate}}
{{/education}} {{/education}}
; ;
. .
@ -121,10 +142,15 @@ lb s
l s l s
{{/interests}} {{/interests}}
l s. l s.
T{
.LG
.LG
Interests Interests
T}
{{#interests}} {{#interests}}
{{name}}: {{#join}} {{{keywords}}} {{/join}} {{name}}: {{#join}} {{{keywords}}} {{/join}}
{{/interests}} {{/interests}}
; ;
.TE .TE

View File

@ -33,6 +33,8 @@ module.exports =
{ {
"name": "Pied Piper", "name": "Pied Piper",
"location": "Palo Alto, CA", "location": "Palo Alto, CA",
"role": [
{
"description": "Awesome compression company", "description": "Awesome compression company",
"position": "CEO/President", "position": "CEO/President",
"url": "http://piedpiper.example.com", "url": "http://piedpiper.example.com",
@ -45,6 +47,8 @@ module.exports =
"Optimized an algorithm that holds the current world record for Weisman Scores" "Optimized an algorithm that holds the current world record for Weisman Scores"
] ]
} }
]
}
], ],
"volunteer": [ "volunteer": [
{ {