mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-05 21:37:08 +01:00
Start using {{hasSection}} helper.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
{{#if r.recognition}}
|
||||
<wx:sub-section>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
@ -70,4 +69,3 @@
|
||||
{{/each}}
|
||||
|
||||
</wx:sub-section>
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,3 @@
|
||||
{{#if r.service }}
|
||||
<wx:sub-section>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
@ -83,4 +82,3 @@
|
||||
{{/each}}
|
||||
|
||||
</wx:sub-section>
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,3 @@
|
||||
{{#if r.skills }}
|
||||
<wx:sub-section>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
@ -59,5 +58,4 @@
|
||||
{{/each}}
|
||||
|
||||
</w:tbl>
|
||||
{{/if}}
|
||||
</wx:sub-section>
|
||||
|
@ -1,4 +1,3 @@
|
||||
{{#if r.writing}}
|
||||
<wx:sub-section>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
@ -75,4 +74,3 @@
|
||||
{{/each}}
|
||||
|
||||
</wx:sub-section>
|
||||
{{/if}}
|
||||
|
@ -526,12 +526,12 @@
|
||||
<w:t>{{ r.info.brief }}</w:t>
|
||||
</w:r> -->
|
||||
</w:p>
|
||||
{{> skills }}
|
||||
{{> employment }}
|
||||
{{> education }}
|
||||
{{> service }}
|
||||
{{> writing }}
|
||||
{{> recognition }}
|
||||
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
|
||||
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
|
||||
{{#hasSection "education"}}{{> education }}{{/hasSection}}
|
||||
{{#hasSection "service"}}{{> service }}{{/hasSection}}
|
||||
{{#hasSection "writing"}}{{> writing }}{{/hasSection}}
|
||||
{{#hasSection "recognition"}}{{> recognition }}{{/hasSection}}
|
||||
<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"/>
|
||||
|
@ -20,14 +20,14 @@
|
||||
</header>
|
||||
|
||||
|
||||
{{#if r.info.brief}}
|
||||
{{#has "info.brief"}}
|
||||
<section id="summary">
|
||||
{{{ r.info.brief }}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/has}}
|
||||
|
||||
|
||||
{{#if r.skills}}
|
||||
{{#hasSection "skills"}}
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2><span class="fa fa-code"></span> Skills</h2>
|
||||
@ -49,11 +49,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
|
||||
|
||||
{{#if r.employment}}
|
||||
{{#hasSection "employment"}}
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
|
||||
@ -94,9 +94,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{# if r.education}}
|
||||
{{#hasSection "education"}}
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
|
||||
@ -106,9 +106,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{#if r.service}}
|
||||
{{#hasSection "service"}}
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
|
||||
@ -132,9 +132,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{#if r.writing}}
|
||||
{{#hasSection "writing"}}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
|
||||
@ -145,9 +145,9 @@
|
||||
{{# if summary}}{{{ summary }}}{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{# if r.recognition}}
|
||||
{{#hasSection "recognition"}}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
|
||||
@ -157,7 +157,7 @@
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/has}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
@ -21,14 +21,14 @@
|
||||
</header>
|
||||
|
||||
|
||||
{{#if r.info.brief}}
|
||||
{{#has "info.brief"}}
|
||||
<section id="summary">
|
||||
{{{ r.info.brief }}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/has}}
|
||||
|
||||
|
||||
{{#if r.skills}}
|
||||
{{#hasSection "skills"}}
|
||||
<section id="skills">
|
||||
<header>
|
||||
<h2><span class="fa fa-code"></span> Skills</h2>
|
||||
@ -50,11 +50,11 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
|
||||
|
||||
{{#if r.employment}}
|
||||
{{#hasSection "employment"}}
|
||||
<section id="employment">
|
||||
<header>
|
||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
|
||||
@ -95,9 +95,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{# if r.education}}
|
||||
{{#hasSection "education"}}
|
||||
<section id="education">
|
||||
<header>
|
||||
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
|
||||
@ -107,9 +107,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{#if r.service}}
|
||||
{{#hasSection "service"}}
|
||||
<section id="volunteer">
|
||||
<header>
|
||||
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
|
||||
@ -133,9 +133,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{#if r.writing}}
|
||||
{{#hasSection "writing"}}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
|
||||
@ -146,9 +146,9 @@
|
||||
{{# if summary}}{{{ summary }}}{{/if}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/hasSection}}
|
||||
|
||||
{{# if r.recognition}}
|
||||
{{#hasSection "recognition"}}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
|
||||
@ -158,7 +158,7 @@
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/if}}
|
||||
{{/has}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user