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

Rename partials/html/sections to .../section

This commit is contained in:
hacksalot
2016-01-11 10:17:54 -05:00
parent 6fd5014e71
commit cf2995fac7
10 changed files with 16 additions and 14 deletions

View File

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

View File

@ -0,0 +1,27 @@
{{#section "employment"}}
<hr>
<section id="employment">
<header>
<h2>{{{sectionTitle "Employment"}}}</h2>
</header>
{{#> icon-employment }}{{/icon-employment}}
{{#each r.employment.history}}
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{ url }}">{{ employer }}</a>
{{else}}
{{ employer }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}

View File

@ -0,0 +1,26 @@
{{#section 'projects'}}
<hr>
<section id="projects">
<header>
<h2>{{{sectionTitle "Projects"}}}</h2>
</header>
{{#> icon-projects }}{{/icon-projects}}
{{#each r.projects}}
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
{{ title }}
{{/if}}
<span class="tenure">{{dateRange .}}</span></h3>
{{{ summary }}}
{{#if proj.highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}

View File

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

View File

@ -0,0 +1,26 @@
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h2>{{{sectionTitle "Samples"}}}</h2>
</header>
{{#> icon-samples }}{{/icon-samples}}
{{#each r.samples}}
<h3>
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
{{ title }}
{{/if}}
<span class="tenure">{{formatDate date 'YYYY-MM'}}</span></h3>
{{{ summary }}}
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}

View File

@ -0,0 +1,27 @@
{{#section "service"}}
<hr>
<section id="volunteer">
<header>
<h2>{{{sectionTitle "Service"}}}</h2>
</header>
{{#> icon-service }}{{/icon-service}}
{{#each r.service.history}}
<h3><em>{{ position }}</em>,
{{#if url}}
<a href="{{ url }}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}<span>
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}

View File

@ -0,0 +1,25 @@
{{#section "skills"}}
<hr>
<section id="skills">
<header>
<h2>{{{sectionTitle "Skills"}}}</h2>
</header>
{{#> icon-skills }}{{/icon-skills}}
<table>
<thead>
<tr>
<th>Skill</th>
<th>Keywords</th>
</tr>
</thead>
<tbody>
{{#each r.skills.sets}}
<tr>
<td style="width: 25%;">{{ name }}</td>
<td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
</tr>
{{/each}}
</tbody>
</table>
</section>
{{/section}}

View File

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

View File

@ -0,0 +1,14 @@
{{#section "writing"}}
<hr>
<section id="publications">
<header>
<h2>{{{sectionTitle "Writing"}}}</h2>
</header>
{{#> icon-writing }}{{/icon-writing}}
{{#each r.writing }}
<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}}
{{/each}}
</section>
{{/section}}