mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-07 22:37:07 +01:00
All: Better section handling & add projects.
This commit is contained in:
@ -528,12 +528,12 @@
|
||||
</w:r> -->
|
||||
</w:p>
|
||||
{{/has}}
|
||||
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
|
||||
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
|
||||
{{#hasSection "education"}}{{> education }}{{/hasSection}}
|
||||
{{#hasSection "service"}}{{> service }}{{/hasSection}}
|
||||
{{#hasSection "writing"}}{{> writing }}{{/hasSection}}
|
||||
{{#hasSection "recognition"}}{{> recognition }}{{/hasSection}}
|
||||
{{#section "skills"}}{{> skills }}{{/section}}
|
||||
{{#section "employment"}}{{> employment }}{{/section}}
|
||||
{{#section "education"}}{{> education }}{{/section}}
|
||||
{{#section "service"}}{{> service }}{{/section}}
|
||||
{{#section "writing"}}{{> writing }}{{/section}}
|
||||
{{#section "recognition"}}{{> recognition }}{{/section}}
|
||||
<w:sectPr wsp:rsidR="00B43FDC" wsp:rsidRPr="000A3AF0" wsp:rsidSect="001B7422">
|
||||
<w:pgSz w:w="12240" w:h="15840"/>
|
||||
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
|
||||
|
@ -27,7 +27,7 @@
|
||||
{{/has}}
|
||||
|
||||
|
||||
{{#hasSection "skills"}}
|
||||
{{#section "skills"}}
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2><span class="fa fa-code"></span> Skills</h2>
|
||||
@ -49,11 +49,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
|
||||
|
||||
{{#hasSection "employment"}}
|
||||
{{#section "employment"}}
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
|
||||
@ -94,9 +94,36 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "education"}}
|
||||
{{#section 'projects'}}
|
||||
<hr>
|
||||
<section id="projects">
|
||||
<header>
|
||||
<h3>{{{sectionTitle "Projects"}}}</h3>
|
||||
</header>
|
||||
<span class="fa fa-lg fa-building"></span>
|
||||
{{#each r.projects}}
|
||||
{{#if url}}
|
||||
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
|
||||
{{else}}
|
||||
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
|
||||
{{/if}}
|
||||
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}—{{formatDate safe.end 'YYYY-MM' }}</span>
|
||||
{{{ summary }}}
|
||||
{{#if proj.highlights}}
|
||||
<ul>
|
||||
{{#each highlights}}
|
||||
<li>{{{ this }}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/section}}
|
||||
|
||||
{{#section "education"}}
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
|
||||
@ -106,9 +133,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "service"}}
|
||||
{{#section "service"}}
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
|
||||
@ -132,9 +159,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "writing"}}
|
||||
{{#section "writing"}}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
|
||||
@ -145,9 +172,9 @@
|
||||
{{# if summary}}{{{ summary }}}{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "recognition"}}
|
||||
{{#section "recognition"}}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
|
||||
@ -157,7 +184,7 @@
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
@ -28,7 +28,7 @@
|
||||
{{/has}}
|
||||
|
||||
|
||||
{{#hasSection "skills"}}
|
||||
{{#section "skills"}}
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2><span class="fa fa-code"></span> Skills</h2>
|
||||
@ -50,11 +50,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
|
||||
|
||||
{{#hasSection "employment"}}
|
||||
{{#section "employment"}}
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
|
||||
@ -95,9 +95,36 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "education"}}
|
||||
{{#section 'projects'}}
|
||||
<hr>
|
||||
<section id="projects">
|
||||
<header>
|
||||
<h3>{{{sectionTitle "Projects"}}}</h3>
|
||||
</header>
|
||||
<span class="fa fa-lg fa-building"></span>
|
||||
{{#each r.projects}}
|
||||
{{#if url}}
|
||||
<h4><span class="res-label">{{ role }}</span>, <a href="{{{ url }}}">{{ title }}</a></h4>
|
||||
{{else}}
|
||||
<h4><span class="res-label">{{ role }}</span>, <span class="defunct">{{ title }}</span></h4>
|
||||
{{/if}}
|
||||
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }}—{{formatDate safe.end 'YYYY-MM' }}</span>
|
||||
{{{ summary }}}
|
||||
{{#if proj.highlights}}
|
||||
<ul>
|
||||
{{#each highlights}}
|
||||
<li>{{{ this }}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/section}}
|
||||
|
||||
{{#section "education"}}
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
|
||||
@ -107,9 +134,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "service"}}
|
||||
{{#section "service"}}
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
|
||||
@ -133,9 +160,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "writing"}}
|
||||
{{#section "writing"}}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
|
||||
@ -146,9 +173,9 @@
|
||||
{{# if summary}}{{{ summary }}}{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "recognition"}}
|
||||
{{#section "recognition"}}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
|
||||
@ -158,7 +185,7 @@
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user