1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-12-23 05:17:22 +00:00

fix: hide location if not provided

This commit is contained in:
hacksalot 2018-02-05 21:32:15 -05:00
parent 85f9c0cc00
commit 6b043d8046
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<div>
<h3>{{#if title}}<em>{{{ title }}}</em>, {{/if}}{{{ institution }}}</h3>
<span class="tenure">{{dateRange .}}</span>
<span class="location">{{location}}</span>
{{#if location}}<span class="location">{{location}}</span>{{/if}}
{{{ summary }}}
{{> highlights }}
{{#if curriculum}}<span class="keywords">{{#each curriculum}}{{{ . }}} {{/each}}</span>{{/if}}

View File

@ -14,8 +14,8 @@
{{ employer }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
<span class="location">{{location}}</span>
<span class="tenure">{{dateRange .}}</span>
{{#if location}}<span class="location">{{location}}</span>{{/if}}
<p>{{{ summary }}}</p>
{{> highlights }}
{{#if keywords}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>{{/if}}

View File

@ -15,7 +15,7 @@
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
<span class="location">{{location}}</span>
{{#if location}}<span class="location">{{location}}</span>{{/if}}
<p>{{{ summary }}}</p>
{{> highlights }}
</div>