jsonresume-theme-engineering-leader 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -4
- package/package.json +3 -4
- package/resume.hbs +49 -0
package/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
const
|
|
2
2
|
fs = require('fs'),
|
|
3
3
|
handlebars = require('handlebars'),
|
|
4
|
-
handlebarsWax = require('handlebars-wax')
|
|
5
|
-
Swag = require('swag');
|
|
6
|
-
|
|
7
|
-
Swag.registerHelpers(handlebars);
|
|
4
|
+
handlebarsWax = require('handlebars-wax');
|
|
8
5
|
|
|
9
6
|
handlebars.registerHelper({
|
|
10
7
|
isArray: function (value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsonresume-theme-engineering-leader",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "JSON Resume theme for Engineering leaders",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jsonresume",
|
|
@@ -19,14 +19,13 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"start": "resume serve --theme .",
|
|
21
21
|
"export-html": "resume export --resume examples/example-resume.json --theme ./ examples/example-resume.html",
|
|
22
|
-
"export-pdf": "resume export --resume examples/example-resume.json --theme ./ examples/example-resume.pdf"
|
|
22
|
+
"export-pdf": "PUPPETEER_EXECUTABLE_PATH=\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" resume export --resume examples/example-resume.json --theme ./ examples/example-resume.pdf"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"address-format": "0.0.3",
|
|
26
26
|
"handlebars": "^4.7.8",
|
|
27
27
|
"handlebars-wax": "^6.1.0",
|
|
28
|
-
"moment": "^2.30.1"
|
|
29
|
-
"swag": "^0.7.0"
|
|
28
|
+
"moment": "^2.30.1"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
31
|
"resume-cli": "^3.1.2"
|
package/resume.hbs
CHANGED
|
@@ -111,6 +111,55 @@
|
|
|
111
111
|
</section>
|
|
112
112
|
{{/if}}
|
|
113
113
|
|
|
114
|
+
{{#if resume.advisory.length}}
|
|
115
|
+
<section id="advisory">
|
|
116
|
+
<h2>Advising & Mentoring</h2>
|
|
117
|
+
{{#each resume.advisory}}
|
|
118
|
+
|
|
119
|
+
<div class="item">
|
|
120
|
+
<div class="item-header">
|
|
121
|
+
<h3 class="item-header-title">
|
|
122
|
+
{{organization}},
|
|
123
|
+
|
|
124
|
+
{{#if location}}
|
|
125
|
+
<span class="location">
|
|
126
|
+
{{location.city}}, {{location.region}}
|
|
127
|
+
</span>
|
|
128
|
+
{{~/if}}
|
|
129
|
+
</h3>
|
|
130
|
+
<div class="item-header-subtitle">
|
|
131
|
+
{{position}}
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
<div class="item-details">
|
|
135
|
+
<div class="date">
|
|
136
|
+
{{startDate}} - {{endDate}}
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="clearfix"></div>
|
|
140
|
+
|
|
141
|
+
<p>{{summary}}</p>
|
|
142
|
+
|
|
143
|
+
{{#if highlights.length}}
|
|
144
|
+
<ul class="highlights">
|
|
145
|
+
{{#each highlights}}
|
|
146
|
+
{{#if (isArray this)}}
|
|
147
|
+
<ul>
|
|
148
|
+
{{#each this}}
|
|
149
|
+
<li>{{this}}</li>
|
|
150
|
+
{{/each}}
|
|
151
|
+
</ul>
|
|
152
|
+
{{else}}
|
|
153
|
+
<li>{{this}}</li>
|
|
154
|
+
{{/if}}
|
|
155
|
+
{{/each}}
|
|
156
|
+
</ul>
|
|
157
|
+
{{/if}}
|
|
158
|
+
</div>
|
|
159
|
+
{{/each}}
|
|
160
|
+
</section>
|
|
161
|
+
{{/if}}
|
|
162
|
+
|
|
114
163
|
{{#if resume.education.length}}
|
|
115
164
|
<section id="education">
|
|
116
165
|
<h2>Education</h2>
|