Skip to content

Commit

Permalink
feat: add certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-K-T-Berry committed Jan 19, 2025
1 parent 2ab0edc commit 2c8ad46
Show file tree
Hide file tree
Showing 4 changed files with 2,441 additions and 2,054 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsonresume-theme-spartan-extended",
"version": "0.5.0",
"version": "0.6.0",
"description": "Extended version of the spartan them to a extended JSON resume format",
"author": "Aaron Berry <[email protected]>",
"repository": {
Expand Down
10 changes: 9 additions & 1 deletion resume.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,13 @@
"website": "http://publication.com",
"summary": "Description......"
}
]
],
"certificates": [
{
"name": "Certificate",
"date": "2021-11-07",
"issuer": "Company",
"url": "https://certificate.com"
}
]
}
40 changes: 39 additions & 1 deletion resume.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@

{{#if website}}
<span class="website">
<a href="{{website}}">{{name}}</a>
<a href="{{website}}" target="_blank">{{name}}</a>
</span>
{{else}}
{{name}}
Expand Down Expand Up @@ -442,6 +442,44 @@
</section>
{{/if}}

{{#if resume.certificates.length}}
<section class="section">
<h2 class='section-title'>Certificates</h2>
<section id="certificates">

{{#each resume.certificates}}
<div class="item">

{{#if name}}
<span class="name">

{{#if url}}
<span class="website">
<a href="{{url}}" target="_blank">{{name}}</a>
</span>
{{else}}
{{name}}
{{/if}}
</span>
{{/if}}

{{#if issuer}}
<span class="issuer">
{{issuer}},
</span>
{{/if}}

{{#if date}}
<span class="date">
{{DMY date}}
</span>
{{/if}}
</div>
{{/each}}
</section>
</section>
{{/if}}

{{#if resume.skills.length}}
<section class="section">
<h2 class='section-title'>Skills</h2>
Expand Down
Loading

0 comments on commit 2c8ad46

Please sign in to comment.