Skip to content

Commit

Permalink
refactor: update publications to suit new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
NuclearRedeye committed Jun 12, 2024
1 parent 4f2fedd commit 5223d8d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 12 deletions.
54 changes: 43 additions & 11 deletions src/partials/publications.hbs
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}}
2 changes: 1 addition & 1 deletion src/resume.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
{{> skills }}
{{> work }}
{{> projects }}
{{> publications }}
{{> education }}
{{> references }}
{{> meta }}
<!--
{{> volunteer }}
{{> awards }}
{{> publications }}
-->
</main>
</body>
Expand Down

0 comments on commit 5223d8d

Please sign in to comment.