1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +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> <div>
<h3>{{#if title}}<em>{{{ title }}}</em>, {{/if}}{{{ institution }}}</h3> <h3>{{#if title}}<em>{{{ title }}}</em>, {{/if}}{{{ institution }}}</h3>
<span class="tenure">{{dateRange .}}</span> <span class="tenure">{{dateRange .}}</span>
<span class="location">{{location}}</span> {{#if location}}<span class="location">{{location}}</span>{{/if}}
{{{ summary }}} {{{ summary }}}
{{> highlights }} {{> highlights }}
{{#if curriculum}}<span class="keywords">{{#each curriculum}}{{{ . }}} {{/each}}</span>{{/if}} {{#if curriculum}}<span class="keywords">{{#each curriculum}}{{{ . }}} {{/each}}</span>{{/if}}

View File

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

View File

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