mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-06-06 04:16:15 +01:00
Compact: Fix PDF format.
This commit is contained in:
@ -10,18 +10,18 @@
|
||||
<body>
|
||||
<main>
|
||||
<header>
|
||||
<h1>{{ r.name }}</h1>
|
||||
<h1>{{{ r.name }}}</h1>
|
||||
<div id="contact">
|
||||
{{#if r.contact.email}}<div class="email"><a href="mailto:{{ RAW.contact.email }}">{{ r.contact.email }}</a></div>{{/if}}
|
||||
{{#if r.contact.phone}}<div class="phone">{{ r.contact.phone }}</div>{{/if}}
|
||||
{{#if r.contact.website}}<div class="website"><a href="{{ RAW.contact.website }}">{{ r.contact.website }}</a></div>{{/if}}
|
||||
{{#if r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/if}}
|
||||
{{#if r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/if}}
|
||||
{{#if r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{trimURL RAW.contact.website }}</a></div>{{/if}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
{{#if r.info.brief}}
|
||||
<section id="summary">
|
||||
{{ r.info.brief }}
|
||||
{{{ r.info.brief }}}
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
|
||||
</header>
|
||||
|
||||
{{#each r.employment.history }}
|
||||
{{#each r.employment.history}}
|
||||
{{#compare @index 4 operator="<"}}
|
||||
<h3><em>{{ position }}</em>,
|
||||
{{#if url }}
|
||||
@ -67,11 +67,11 @@
|
||||
{{ employer }}
|
||||
{{/if}}
|
||||
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}<span></h3>
|
||||
<p style="clear: both;">{{ summary }}</p>
|
||||
<p style="clear: both;">{{{ summary }}}</p>
|
||||
{{#if highlights}}
|
||||
<ul>
|
||||
{{#each highlights}}
|
||||
<li>{{ this }}</li>
|
||||
<li>{{{ this }}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
@ -84,7 +84,7 @@
|
||||
<ul>
|
||||
{{/compare}}
|
||||
|
||||
<li>{{ position }}, {{ employer }}</li>
|
||||
<li>{{{ position }}}, {{{ employer }}}</li>
|
||||
|
||||
{{#if @last}}
|
||||
</ul>
|
||||
@ -101,7 +101,7 @@
|
||||
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
|
||||
</header>
|
||||
{{#each r.education.history}}
|
||||
<h3>{{ institution }} <span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
@ -120,11 +120,11 @@
|
||||
{{ organization }}
|
||||
{{/if}}
|
||||
<span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||
<p style="clear: both;">{{ summary }}</p>
|
||||
<p style="clear: both;">{{{ summary }}}</p>
|
||||
{{#if highlights}}
|
||||
<ul>
|
||||
{{#each highlights}}
|
||||
<li>{{ this }}</li>
|
||||
<li>{{{ this }}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
@ -139,9 +139,9 @@
|
||||
<h2><span class="fa fa-book"></span> Writing</h2><hr>
|
||||
</header>
|
||||
{{#each r.writing }}
|
||||
<h3><em>{{#if url}}<a href="{{ url }}">{{ title }}</a>{{else}}{{ title }}{{/if}}</em>,
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
|
||||
{{# if summary}}{{ summary }}{{/if}}
|
||||
{{# if summary}}{{{ summary }}}{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user