1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +00:00

Change: Positive: HTML: Fix encoding issues.

This commit is contained in:
hacksalot 2015-12-22 18:41:34 -05:00
parent b76821bfb6
commit 57c769ad53

View File

@ -10,7 +10,7 @@
<body> <body>
<main> <main>
<header> <header>
<h1>{{initialWords r.name }} <span style="color: #C00000;">{{lastWord r.name }}</span></h1> <h1>{{{initialWords r.name }}} <span style="color: #C00000;">{{{lastWord r.name }}}</span></h1>
<span class="label">{{{ r.info.label }}}</span> <span class="label">{{{ r.info.label }}}</span>
<p id="contact"> <p id="contact">
{{#if r.contact.email}}<span class="email"><a href="mailto:{{ RAW.contact.email }}">{{{ r.contact.email }}}</a></span>{{/if}} {{#if r.contact.email}}<span class="email"><a href="mailto:{{ RAW.contact.email }}">{{{ r.contact.email }}}</a></span>{{/if}}
@ -63,9 +63,9 @@
{{#compare @index 4 operator="<"}} {{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>, <h3><em>{{ position }}</em>,
{{#if url }} {{#if url }}
<a href="{{ url }}">{{ employer }}</a> <a href="{{ url }}">{{{ employer }}}</a>
{{else}} {{else}}
{{ employer }} {{{ employer }}}
{{/if}} {{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3> <span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p> <p style="clear: both;">{{{ summary }}}</p>
@ -114,18 +114,18 @@
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2> <h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2>
</header> </header>
{{#each r.service.history}} {{#each r.service.history}}
<h3><em>{{ position }}</em>, <h3><em>{{{ position }}}</em>,
{{#if url}} {{#if url}}
<a href="{{ url }}">{{ organization }}</a> <a href="{{ url }}">{{{ organization }}}</a>
{{else}} {{else}}
{{ organization }} {{{ organization }}}
{{/if}} {{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p> <p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}} {{#if highlights}}
<ul> <ul>
{{#each highlights}} {{#each highlights}}
<li>{{ this }}</li> <li>{{{ this }}}</li>
{{/each}} {{/each}}
</ul> </ul>
{{/if}} {{/if}}
@ -140,7 +140,7 @@
<h2><span class="fa fa-book"></span> Writing</h2> <h2><span class="fa fa-book"></span> Writing</h2>
</header> </header>
{{#each r.writing }} {{#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.name }}} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3> {{{ publisher.name }}} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}} {{# if summary}}{{{ summary }}}{{/if}}
{{/each}} {{/each}}
@ -153,7 +153,7 @@
<h2><span class="fa fa-trophy"></span> Awards</h2> <h2><span class="fa fa-trophy"></span> Awards</h2>
</header> </header>
{{#each r.recognition}} {{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4> <h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{{ summary }}} {{{ summary }}}
{{/each}} {{/each}}
</section> </section>