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.
refactor: update publications to suit new theme
- Loading branch information
1 parent
4f2fedd
commit 5223d8d
Showing
2 changed files
with
44 additions
and
12 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,20 +1,52 @@ | ||
{{#if resume.publications.length}} | ||
<div class="container publications-container"> | ||
{{> section-heading value="Publications"}} | ||
<section class="publications"> | ||
{{> section-heading icon="book" value="Publications"}} | ||
|
||
{{#each resume.publications}} | ||
<section class="item"> | ||
{{> section-header name=this.name}} | ||
<section class="publication"> | ||
<div class="column"> | ||
<div class="row wide inherit-height"> | ||
<div class="column fill between inherit-height"> | ||
{{#if name}} | ||
<h3 class="bold"> | ||
{{#if url}} | ||
<a href="{{url}}" target="_blank">{{name}}</a> | ||
{{else}} | ||
{{name}} | ||
{{/if}} | ||
</h3> | ||
{{/if}} | ||
|
||
{{#if publisher}} | ||
<h5 class="awarder">{{publisher}}</h5> | ||
{{/if}} | ||
{{#if publisher}} | ||
<h5>{{publisher}}</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> | ||
|
||
</section> | ||
<div class="column end fit"> | ||
{{#if releaseDate}} | ||
<h6> | ||
<i class="fa fa-calendar"></i> | ||
<span>{{formatDate releaseDate}}</span> | ||
</h6> | ||
{{/if}} | ||
</div> | ||
</div> | ||
|
||
{{#if summary}} | ||
{{#each (split summary) }} | ||
<p>{{this}}</p> | ||
{{/each}} | ||
{{/if}} | ||
</div> | ||
</section> | ||
{{/each}} | ||
</div> | ||
{{/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