jsonresume-theme-tech 1.4.2 → 1.5.0

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.0",
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}}
@@ -161,6 +169,27 @@
161
169
  </div>
162
170
  {{/if}}
163
171
 
172
+ {{#if resume.leadership._showLeadership}}
173
+ <div class='leadership'>
174
+ <h2 class='sectionName'>
175
+ <span>Leadership</span>
176
+ </h2>
177
+ <div class='sectionContent'>
178
+ <div class='leadershipBlock'>
179
+ {{#if resume.leadership.title}}<h3 class='title'>{{{resume.leadership.title}}}</h3>{{/if}}
180
+ {{#if resume.leadership.summary}}<p class='summary summaryProse'>{{{resume.leadership.summary}}}</p>{{/if}}
181
+ {{#if resume.leadership.highlights.length}}
182
+ <ul class='highlights'>
183
+ {{#each resume.leadership.highlights}}
184
+ <li>{{{.}}}</li>
185
+ {{/each}}
186
+ </ul>
187
+ {{/if}}
188
+ </div>
189
+ </div>
190
+ </div>
191
+ {{/if}}
192
+
164
193
  {{#if resume.skills.length}}
165
194
  <div class='skills'>
166
195
  <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
@@ -167,6 +167,13 @@ h3.title {
167
167
  padding-right: 0;
168
168
  }
169
169
 
170
+ h3.subSectionName {
171
+ font-size: 10.5pt;
172
+ font-weight: bold;
173
+ margin: 0.75em 0 0.35em 0;
174
+ color: var(--resume-body);
175
+ }
176
+
170
177
  /* Institution line extras (GPA) — secondary, not job-title weight */
171
178
  .educationBlock h3.title em {
172
179
  font-style: italic;
@@ -404,6 +411,32 @@ ul.coursesList {
404
411
  margin-bottom: 2px;
405
412
  }
406
413
 
414
+ /* Patents: Year + Patent no. on one line, labeled (clear for ATS text extraction). */
415
+ .publicationHeader {
416
+ display: block;
417
+ margin-bottom: 1px;
418
+ }
419
+
420
+ .publicationMeta {
421
+ margin-top: 2px;
422
+ line-height: 1.15;
423
+ }
424
+
425
+ .publicationMetaLabel {
426
+ font-weight: bold;
427
+ color: var(--resume-body);
428
+ }
429
+
430
+ .publicationMetaValue {
431
+ font-weight: normal;
432
+ color: var(--resume-date);
433
+ }
434
+
435
+ .publicationMetaSep {
436
+ font-weight: normal;
437
+ color: var(--resume-secondary);
438
+ }
439
+
407
440
  @media only screen and (max-width: 40em) {
408
441
  body {
409
442
  margin: 0;
@@ -484,7 +517,8 @@ ul.coursesList {
484
517
  }
485
518
 
486
519
  /* Keep role/company header with the start of its body; bullets may continue on next page. */
487
- .sectionContent > div > .blockHeader {
520
+ .sectionContent > div > .blockHeader,
521
+ .sectionContent > div > .publicationHeader {
488
522
  break-after: avoid;
489
523
  page-break-after: avoid;
490
524
  }
Binary file
Binary file
Binary file