1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-03 12:27:07 +01:00

Improve markup consistency.

This commit is contained in:
hacksalot
2016-01-11 13:47:14 -05:00
parent 700c388b01
commit fa00a9c640
12 changed files with 113 additions and 183 deletions

View File

@ -3,11 +3,13 @@
<section id="education">
<header>
<h2>{{{sectionTitle "Education"}}}</h2>
{{#> icon-education }}{{/icon-education}}
</header>
{{#> icon-education }}{{/icon-education}}
{{#each r.education.history}}
<div>
<h3>{{{ institution }}}</h3>
<span class="tenure">{{dateRange .}}<span>
<span class="tenure">{{dateRange .}}</span>
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,9 +3,10 @@
<section id="employment">
<header>
<h2>{{{sectionTitle "Employment"}}}</h2>
</header>
{{#> icon-employment }}{{/icon-employment}}
</header>
{{#each r.employment.history}}
<div>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{ employer }}</a>
@ -22,6 +23,7 @@
{{/each}}
</ul>
{{/if}}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,9 +3,10 @@
<section id="projects">
<header>
<h2>{{{sectionTitle "Projects"}}}</h2>
{{#> icon-projects }}{{/icon-projects}}
</header>
{{#> icon-projects }}{{/icon-projects}}
{{#each r.projects}}
<div>
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
@ -21,6 +22,7 @@
{{/each}}
</ul>
{{/if}}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,11 +3,13 @@
<section id="awards">
<header>
<h2>{{{sectionTitle "recognition" "Awards"}}}</h2>
</header>
{{#> icon-recognition }}{{/icon-recognition}}
</header>
{{#each r.recognition}}
<div>
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
{{ summary }}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,9 +3,10 @@
<section id="samples">
<header>
<h2>{{{sectionTitle "Samples"}}}</h2>
</header>
{{#> icon-samples }}{{/icon-samples}}
</header>
{{#each r.samples}}
<div>
<h3>
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
@ -21,6 +22,7 @@
{{/each}}
</ul>
{{/if}}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,9 +3,10 @@
<section id="volunteer">
<header>
<h2>{{{sectionTitle "Service"}}}</h2>
</header>
{{#> icon-service }}{{/icon-service}}
</header>
{{#each r.service.history}}
<div>
<h3><em>{{ position }}</em>,
{{#if url}}
<a href="{{ url }}">{{ organization }}</a>
@ -13,7 +14,7 @@
{{ organization }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}<span>
<span class="tenure">{{dateRange .}}</span>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
@ -22,6 +23,7 @@
{{/each}}
</ul>
{{/if}}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,8 +3,8 @@
<section id="skills">
<header>
<h2>{{{sectionTitle "Skills"}}}</h2>
</header>
{{#> icon-skills }}{{/icon-skills}}
</header>
<table>
<thead>
<tr>

View File

@ -3,11 +3,13 @@
<section id="speaking">
<header>
<h2>{{{sectionTitle "speaking" "Speaking Engagements"}}}</h2>
</header>
{{#> icon-speaking }}{{/icon-speaking}}
</header>
{{#each r.speaking}}
<div>
<h3><em>{{ title }}</em>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h3>
{{ summary }}
</div>
{{/each}}
</section>
{{/section}}

View File

@ -3,12 +3,15 @@
<section id="publications">
<header>
<h2>{{{sectionTitle "Writing"}}}</h2>
</header>
{{#> icon-writing }}{{/icon-writing}}
</header>
{{#each r.writing }}
<div>
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{ publisher.name }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}}
{{ publisher.name }}</h3>
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
{{{ summary }}}
</div>
{{/each}}
</section>
{{/section}}