forked from biosan/jsonresume-theme-macchiato
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initial support for awards section
- Loading branch information
1 parent
481bfa0
commit b2eafdf
Showing
2 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,53 @@ | ||
{{#if resume.awards.length}} | ||
<div class="container awards-container"> | ||
{{> section-heading value="Awards"}} | ||
<section class="awards"> | ||
{{> section-heading icon="fa-trophy" value="Awards"}} | ||
|
||
{{#each resume.awards}} | ||
<section class="item"> | ||
{{> section-header name=this.title }} | ||
<section class="award"> | ||
<div class="column"> | ||
<div class="line"></div> | ||
<div class="row wide inherit-height"> | ||
<div class="column fill between inherit-height"> | ||
{{#if title}} | ||
<h3 class="bold"> | ||
{{#if url}} | ||
<a href="{{url}}" target="_blank">{{title}}</a> | ||
{{else}} | ||
{{title}} | ||
{{/if}} | ||
</h3> | ||
{{/if}} | ||
|
||
{{#if awarder}} | ||
<h5 class="awarder">{{awarder}}</h5> | ||
{{/if}} | ||
{{#if awarder}} | ||
<h5>{{awarder}}</h5> | ||
{{/if}} | ||
|
||
{{#if summary}} | ||
<p class="summary">{{summary}}</p> | ||
{{/if}} | ||
{{#if this.keywords.length}} | ||
<div class="row wrap"> | ||
{{#each this.keywords}} | ||
<h6 class="chip">{{.}}</h6> | ||
{{/each}} | ||
</div> | ||
{{/if}} | ||
</div> | ||
|
||
<div class="column end fit"> | ||
{{#if date}} | ||
<h6> | ||
<i class="fa fa-calendar"></i> | ||
<span>{{formatDate date}}</span> | ||
</h6> | ||
{{/if}} | ||
</div> | ||
</div> | ||
|
||
{{#if summary}} | ||
{{#each (split summary) }} | ||
<p>{{this}}</p> | ||
{{/each}} | ||
{{/if}} | ||
</div> | ||
</section> | ||
{{/each}} | ||
</div> | ||
</section> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters