jsonresume-theme-tech 1.4.2 → 1.5.1

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/README.md CHANGED
@@ -59,6 +59,38 @@ This theme offers special formatting options to better showcase your technical s
59
59
 
60
60
  See the included resume.json for more examples and detailed formatting options.
61
61
 
62
+ ### Schema extensions (theme-specific)
63
+
64
+ These fields are not part of the core [JSON Resume schema](https://jsonresume.org/schema/) but are supported by this theme:
65
+
66
+ - **Executive Summary**: The summary block uses the heading **Executive Summary** (standard [`basics.summary`](https://jsonresume.org/schema/) prose).
67
+ - **`basics.highlights`**: Optional array of strings, same conventions as `work[].highlights` (including inline HTML where you already use it elsewhere). Rendered as **Career Highlights** immediately below the executive summary in the same section.
68
+ - **`recognition`**: Optional root object `{ "title", "summary", "highlights" }`, rendered after **Patents** (`publications`). `title` may be empty; `summary` is shown as a short line; `highlights` is a bullet list. The section appears when any of these fields has content.
69
+ - **`leadership`**: Optional root object with the same shape as `recognition`, rendered after **Projects** and before **Skills**. The section appears when any of `title`, `summary`, or `highlights` has content.
70
+
71
+ Example:
72
+
73
+ ```json
74
+ {
75
+ "basics": {
76
+ "summary": "…",
77
+ "highlights": [
78
+ "<strong>Led</strong> platform engineering across cloud and edge."
79
+ ]
80
+ },
81
+ "recognition": {
82
+ "title": "",
83
+ "summary": "10+ years",
84
+ "highlights": ["Patent co-inventor on …"]
85
+ },
86
+ "leadership": {
87
+ "title": "",
88
+ "summary": "Led engineering through hyper-growth.",
89
+ "highlights": ["Built hiring and onboarding programs from zero."]
90
+ }
91
+ }
92
+ ```
93
+
62
94
  ## 🔗 Related Projects
63
95
 
64
96
  - [JSON Resume](https://jsonresume.org/) - The open source initiative to create a JSON-based standard for resumes
package/index.js CHANGED
@@ -24,6 +24,37 @@ function render(resume) {
24
24
  }
25
25
  });
26
26
 
27
+ if (resume.basics) {
28
+ if (!Array.isArray(resume.basics.highlights)) {
29
+ resume.basics.highlights = [];
30
+ }
31
+ var summaryText = resume.basics.summary && String(resume.basics.summary).trim();
32
+ resume.basics._showExecutiveSummary =
33
+ !!summaryText || resume.basics.highlights.length > 0;
34
+ }
35
+
36
+ if (resume.recognition) {
37
+ if (!Array.isArray(resume.recognition.highlights)) {
38
+ resume.recognition.highlights = [];
39
+ }
40
+ var rec = resume.recognition;
41
+ var recTitle = rec.title && String(rec.title).trim();
42
+ var recSummary = rec.summary && String(rec.summary).trim();
43
+ resume.recognition._showRecognition =
44
+ !!recTitle || !!recSummary || rec.highlights.length > 0;
45
+ }
46
+
47
+ if (resume.leadership) {
48
+ if (!Array.isArray(resume.leadership.highlights)) {
49
+ resume.leadership.highlights = [];
50
+ }
51
+ var led = resume.leadership;
52
+ var ledTitle = led.title && String(led.title).trim();
53
+ var ledSummary = led.summary && String(led.summary).trim();
54
+ resume.leadership._showLeadership =
55
+ !!ledTitle || !!ledSummary || led.highlights.length > 0;
56
+ }
57
+
27
58
  var css = fs.readFileSync(__dirname + "/style.css", "utf-8");
28
59
  var tpl = fs.readFileSync(__dirname + "/resume.hbs", "utf-8");
29
60
  return Handlebars.compile(tpl)({
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsonresume-theme-tech",
3
- "version": "1.4.2",
3
+ "version": "1.5.1",
4
4
  "description": "A clean, modern JSON Resume theme tailored for tech professionals, senior engineers, and startup founders",
5
5
  "author": "Gaurav Bansal",
6
6
  "repository": {
package/resume.hbs CHANGED
@@ -35,13 +35,21 @@
35
35
  </div>
36
36
  {{/resume.basics}}
37
37
 
38
- {{#if resume.basics.summary}}
38
+ {{#if resume.basics._showExecutiveSummary}}
39
39
  <div class='summaryBlock'>
40
40
  <h2 class='sectionName'>
41
- <span>Professional Summary</span>
41
+ <span>Executive Summary</span>
42
42
  </h2>
43
43
  <div class='sectionContent'>
44
- <p class='summary summaryProse'>{{{resume.basics.summary}}}</p>
44
+ {{#if resume.basics.summary}}<p class='summary summaryProse'>{{{resume.basics.summary}}}</p>{{/if}}
45
+ {{#if resume.basics.highlights.length}}
46
+ <h3 class='subSectionName'>Career Highlights</h3>
47
+ <ul class='highlights'>
48
+ {{#each resume.basics.highlights}}
49
+ <li>{{{.}}}</li>
50
+ {{/each}}
51
+ </ul>
52
+ {{/if}}
45
53
  </div>
46
54
  </div>
47
55
  {{/if}}
@@ -89,43 +97,6 @@
89
97
  </div>
90
98
  {{/if}}
91
99
 
92
- {{#if resume.education.length}}
93
- <div class='education'>
94
- <h2 class='sectionName'>
95
- <span>Education</span>
96
- </h2>
97
- <div class='sectionContent'>
98
- {{#each resume.education}}
99
- <div class='educationBlock'>
100
- <div class='blockHeader'>
101
- <h3 class='title'>
102
- {{#if institution}}{{{institution}}}{{#if location}}, {{{location}}}{{/if}}{{#if score}} <em>({{{score}}}{{#if scoreMax}}/{{{scoreMax}}}{{/if}}{{#if scoreType}} {{{scoreType}}}{{/if}})</em>{{/if}}{{/if}}
103
- </h3>
104
- <div class='metaRow'>
105
- {{#if studyType}}<div class='degree'><em>{{{studyType}}}{{#if area}} ({{{area}}}){{/if}}</em></div>{{/if}}
106
- {{#if startDate}}
107
- <div class='dateLine'>
108
- <span class='date'>{{startDate}} - {{#if endDate}}{{endDate}}{{else}}Present{{/if}}</span>
109
- </div>
110
- {{/if}}
111
- </div>
112
- </div>
113
- {{#if courses.length}}
114
- <div class='coursesBlock'>
115
- <div class='coursesInline'>
116
- {{#each courses}}
117
- <span class='course'>{{{this}}}</span>{{#unless @last}}<span class='courseSep'> • </span>{{/unless}}
118
- {{/each}}
119
- </div>
120
- </div>
121
- {{/if}}
122
- </div>
123
- {{#unless @last}}<div class='separator'></div>{{/unless}}
124
- {{/each}}
125
- </div>
126
- </div>
127
- {{/if}}
128
-
129
100
  {{#if resume.projects.length}}
130
101
  <div class='projects'>
131
102
  <h2 class='sectionName'>
@@ -161,6 +132,27 @@
161
132
  </div>
162
133
  {{/if}}
163
134
 
135
+ {{#if resume.leadership._showLeadership}}
136
+ <div class='leadership'>
137
+ <h2 class='sectionName'>
138
+ <span>Leadership</span>
139
+ </h2>
140
+ <div class='sectionContent'>
141
+ <div class='leadershipBlock'>
142
+ {{#if resume.leadership.title}}<h3 class='title'>{{{resume.leadership.title}}}</h3>{{/if}}
143
+ {{#if resume.leadership.summary}}<p class='summary summaryProse'>{{{resume.leadership.summary}}}</p>{{/if}}
144
+ {{#if resume.leadership.highlights.length}}
145
+ <ul class='highlights'>
146
+ {{#each resume.leadership.highlights}}
147
+ <li>{{{.}}}</li>
148
+ {{/each}}
149
+ </ul>
150
+ {{/if}}
151
+ </div>
152
+ </div>
153
+ </div>
154
+ {{/if}}
155
+
164
156
  {{#if resume.skills.length}}
165
157
  <div class='skills'>
166
158
  <h2 class='sectionName'>
@@ -188,6 +180,43 @@
188
180
  </div>
189
181
  {{/if}}
190
182
 
183
+ {{#if resume.education.length}}
184
+ <div class='education'>
185
+ <h2 class='sectionName'>
186
+ <span>Education</span>
187
+ </h2>
188
+ <div class='sectionContent'>
189
+ {{#each resume.education}}
190
+ <div class='educationBlock'>
191
+ <div class='blockHeader'>
192
+ <h3 class='title'>
193
+ {{#if institution}}{{{institution}}}{{#if location}}, {{{location}}}{{/if}}{{#if score}} <em>({{{score}}}{{#if scoreMax}}/{{{scoreMax}}}{{/if}}{{#if scoreType}} {{{scoreType}}}{{/if}})</em>{{/if}}{{/if}}
194
+ </h3>
195
+ <div class='metaRow'>
196
+ {{#if studyType}}<div class='degree'><em>{{{studyType}}}{{#if area}} ({{{area}}}){{/if}}</em></div>{{/if}}
197
+ {{#if startDate}}
198
+ <div class='dateLine'>
199
+ <span class='date'>{{startDate}} - {{#if endDate}}{{endDate}}{{else}}Present{{/if}}</span>
200
+ </div>
201
+ {{/if}}
202
+ </div>
203
+ </div>
204
+ {{#if courses.length}}
205
+ <div class='coursesBlock'>
206
+ <div class='coursesInline'>
207
+ {{#each courses}}
208
+ <span class='course'>{{{this}}}</span>{{#unless @last}}<span class='courseSep'> • </span>{{/unless}}
209
+ {{/each}}
210
+ </div>
211
+ </div>
212
+ {{/if}}
213
+ </div>
214
+ {{#unless @last}}<div class='separator'></div>{{/unless}}
215
+ {{/each}}
216
+ </div>
217
+ </div>
218
+ {{/if}}
219
+
191
220
  {{#if resume.publications.length}}
192
221
  <div class='publications'>
193
222
  <h2 class='sectionName'>
@@ -196,19 +225,11 @@
196
225
  <div class='sectionContent'>
197
226
  {{#each resume.publications}}
198
227
  <div class='publicationBlock'>
199
- <div class='blockHeader blockHeaderInlineMeta'>
200
- <h3 class='title'>{{#if name}}{{{name}}}{{/if}}</h3>
201
- {{#if releaseDate}}
202
- <div class='dateLine'>
203
- <span class='date'>{{releaseDate}}{{#if summary}} - {{summary}}{{/if}}</span>
228
+ <div class='publicationHeader'>
229
+ {{#if name}}<h3 class='title'>{{{name}}}</h3>{{/if}}
230
+ <div class='publicationMeta'>
231
+ {{#if releaseDate}}<span class='publicationMetaLabel'>Year:</span> <span class='publicationMetaValue'>{{releaseDate}}</span>{{#if summary}}<span class='publicationMetaSep'> | </span>{{/if}}{{/if}}{{#if summary}}<span class='publicationMetaLabel'>Patent no.:</span> <span class='publicationMetaValue'>{{summary}}</span>{{/if}}
204
232
  </div>
205
- {{else}}
206
- {{#if summary}}
207
- <div class='dateLine'>
208
- <span class='date'>{{summary}}</span>
209
- </div>
210
- {{/if}}
211
- {{/if}}
212
233
  </div>
213
234
  {{#if highlights.length}}
214
235
  <ul class='highlights'>
@@ -224,6 +245,27 @@
224
245
  </div>
225
246
  {{/if}}
226
247
 
248
+ {{#if resume.recognition._showRecognition}}
249
+ <div class='recognition'>
250
+ <h2 class='sectionName'>
251
+ <span>Recognition</span>
252
+ </h2>
253
+ <div class='sectionContent'>
254
+ <div class='recognitionBlock'>
255
+ {{#if resume.recognition.title}}<h3 class='title'>{{{resume.recognition.title}}}</h3>{{/if}}
256
+ {{#if resume.recognition.summary}}<p class='summary summaryProse'>{{{resume.recognition.summary}}}</p>{{/if}}
257
+ {{#if resume.recognition.highlights.length}}
258
+ <ul class='highlights'>
259
+ {{#each resume.recognition.highlights}}
260
+ <li>{{{.}}}</li>
261
+ {{/each}}
262
+ </ul>
263
+ {{/if}}
264
+ </div>
265
+ </div>
266
+ </div>
267
+ {{/if}}
268
+
227
269
  {{#if resume.awards.length}}
228
270
  <div class='awards'>
229
271
  <h2 class='sectionName'>
package/resume.json CHANGED
@@ -29,6 +29,10 @@
29
29
  "username": "bgaurav7",
30
30
  "url": "https://bgaurav7.medium.com/"
31
31
  }
32
+ ],
33
+ "highlights": [
34
+ "Scaled engineering from 3 to 45 across four countries with clear technical leadership and hiring bar.",
35
+ "Shipped a cloud-native data platform processing 10TB+ daily with 99.99% uptime and strong security posture."
32
36
  ]
33
37
  },
34
38
  "work": [
@@ -159,6 +163,13 @@
159
163
  "summary": "Research paper detailing best practices for implementing production ML pipelines in enterprise environments."
160
164
  }
161
165
  ],
166
+ "recognition": {
167
+ "title": "",
168
+ "summary": "12+ years building data and ML platforms",
169
+ "highlights": [
170
+ "Invited talks on MLOps and production ML at regional engineering forums."
171
+ ]
172
+ },
162
173
  "skills": [
163
174
  {
164
175
  "name": "Engineering Leadership",
@@ -250,5 +261,13 @@
250
261
  ],
251
262
  "url": "https://cloudguard.example.com"
252
263
  }
253
- ]
264
+ ],
265
+ "leadership": {
266
+ "title": "",
267
+ "summary": "12+ years leading engineering orgs, hiring, and delivery at scale.",
268
+ "highlights": [
269
+ "Scaled engineering from 3 to 45 across four countries with clear leveling, mentorship, and performance frameworks.",
270
+ "Ran quarterly planning and release trains aligning product, platform, and infrastructure roadmaps."
271
+ ]
272
+ }
254
273
  }
package/style.css CHANGED
@@ -109,6 +109,12 @@ h2.sectionName {
109
109
  margin-bottom: 2px;
110
110
  }
111
111
 
112
+ /* Extra breathing room between multiple roles (work) and project entries */
113
+ .workBlock .sectionContent > .jobBlock:not(:last-child),
114
+ .projects .sectionContent > .projectBlock:not(:last-child) {
115
+ margin-bottom: 8pt;
116
+ }
117
+
112
118
  /*
113
119
  * Company / degree + dates: float layout (right edge ≈ Word right-tab), not table/flex.
114
120
  * Title + date (projects, awards, …): same pattern.
@@ -167,6 +173,13 @@ h3.title {
167
173
  padding-right: 0;
168
174
  }
169
175
 
176
+ h3.subSectionName {
177
+ font-size: 10.5pt;
178
+ font-weight: bold;
179
+ margin: 0.75em 0 0.35em 0;
180
+ color: var(--resume-body);
181
+ }
182
+
170
183
  /* Institution line extras (GPA) — secondary, not job-title weight */
171
184
  .educationBlock h3.title em {
172
185
  font-style: italic;
@@ -404,6 +417,32 @@ ul.coursesList {
404
417
  margin-bottom: 2px;
405
418
  }
406
419
 
420
+ /* Patents: Year + Patent no. on one line, labeled (clear for ATS text extraction). */
421
+ .publicationHeader {
422
+ display: block;
423
+ margin-bottom: 1px;
424
+ }
425
+
426
+ .publicationMeta {
427
+ margin-top: 2px;
428
+ line-height: 1.15;
429
+ }
430
+
431
+ .publicationMetaLabel {
432
+ font-weight: bold;
433
+ color: var(--resume-body);
434
+ }
435
+
436
+ .publicationMetaValue {
437
+ font-weight: normal;
438
+ color: var(--resume-date);
439
+ }
440
+
441
+ .publicationMetaSep {
442
+ font-weight: normal;
443
+ color: var(--resume-secondary);
444
+ }
445
+
407
446
  @media only screen and (max-width: 40em) {
408
447
  body {
409
448
  margin: 0;
@@ -484,7 +523,8 @@ ul.coursesList {
484
523
  }
485
524
 
486
525
  /* Keep role/company header with the start of its body; bullets may continue on next page. */
487
- .sectionContent > div > .blockHeader {
526
+ .sectionContent > div > .blockHeader,
527
+ .sectionContent > div > .publicationHeader {
488
528
  break-after: avoid;
489
529
  page-break-after: avoid;
490
530
  }
Binary file
Binary file
Binary file