mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 00:00:14 +00:00
Introduce "reading" section.
This commit is contained in:
parent
76b362c2b8
commit
9bf5d43f87
68
partials/doc/section/reading.xml
Normal file
68
partials/doc/section/reading.xml
Normal file
@ -0,0 +1,68 @@
|
||||
<wx:sub-section>
|
||||
|
||||
{{#> header-reading }}
|
||||
{{> header-simple _title="READING" _section="reading" }}
|
||||
{{/header-reading}}
|
||||
|
||||
{{#each r.reading}}
|
||||
<wx:sub-section>
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00606071" wsp:rsidP="00E578D4">
|
||||
<w:pPr>
|
||||
<w:pStyle w:val="Heading2"/>
|
||||
<w:tabs>
|
||||
<w:tab w:val="right" w:pos="9360"/>
|
||||
</w:tabs>
|
||||
</w:pPr>
|
||||
{{#if url}}<w:hlink w:dest="{{{ url }}}">{{/if}}
|
||||
<w:r wsp:rsidR="009452CA" wsp:rsidRPr="00606071">
|
||||
{{#if url}}
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="Hyperlink"/>
|
||||
</w:rPr>
|
||||
{{/if}}
|
||||
<w:t>{{{ title }}}</w:t>
|
||||
</w:r>
|
||||
{{#if url}}</w:hlink>{{/if}}
|
||||
<w:r wsp:rsidR="00EA0B64">
|
||||
<w:tab/>
|
||||
</w:r>
|
||||
{{#if author}}
|
||||
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
|
||||
<w:t>, {{{ author }}}</w:t>
|
||||
</w:r>
|
||||
{{/if}}
|
||||
</w:p>
|
||||
{{#if summary}}
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
<w:rPr>
|
||||
<w:sz-cs w:val="20"/>
|
||||
</w:rPr>
|
||||
</w:pPr>
|
||||
{{{wpml summary true}}}
|
||||
</w:p>
|
||||
{{/if}}
|
||||
|
||||
{{#each highlights }}
|
||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRDefault="009452CA" wsp:rsidP="00C146CA">
|
||||
<w:pPr>
|
||||
<w:pStyle w:val="ListParagraph"/>
|
||||
<w:listPr>
|
||||
<w:ilvl w:val="0"/>
|
||||
<w:ilfo w:val="1"/>
|
||||
<wx:t wx:val="•"/>
|
||||
<wx:font wx:val="Calibri"/>
|
||||
</w:listPr>
|
||||
<w:rPr>
|
||||
<w:sz-cs w:val="20"/>
|
||||
</w:rPr>
|
||||
</w:pPr>
|
||||
{{{wpml this true}}}
|
||||
</w:p>
|
||||
{{/each}}
|
||||
|
||||
</wx:sub-section>
|
||||
|
||||
{{/each}}
|
||||
|
||||
</wx:sub-section>
|
17
partials/html/section/reading.html
Normal file
17
partials/html/section/reading.html
Normal file
@ -0,0 +1,17 @@
|
||||
{{#section "reading"}}
|
||||
<hr>
|
||||
<section id="reading">
|
||||
{{#> header-reading }}
|
||||
{{> header-icon _title="READING" _section="reading" _hdricon=(lookup . '_icon') }}
|
||||
{{/header-reading}}
|
||||
{{#each r.reading }}
|
||||
{{#> body-reading }}
|
||||
<div>
|
||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>{{#if author}}, {{{ author }}}{{/if}}</h3>
|
||||
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
|
||||
{{{ summary }}}
|
||||
</div>
|
||||
{{/body-reading}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/section}}
|
12
partials/md/section/reading.hbs
Normal file
12
partials/md/section/reading.hbs
Normal file
@ -0,0 +1,12 @@
|
||||
{{#section "reading"}}
|
||||
## {{{sectionTitle "READING"}}}
|
||||
|
||||
{{#each r.reading}}
|
||||
{{#if url}}### [*{{{ title }}}*]({{{url}}}){{#if author}}, {{{ author }}}{{/if}}
|
||||
{{else}}### *{{{ title }}}*{{#if author}}, {{{ author }}}{{/if}}
|
||||
{{/if}}
|
||||
{{#if summary}}{{{ summary }}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/section}}
|
14
partials/txt/section/reading.hbs
Normal file
14
partials/txt/section/reading.hbs
Normal file
@ -0,0 +1,14 @@
|
||||
{{#section "reading"}}
|
||||
{{{sectionTitle "READING"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.reading}}
|
||||
"{{{ title }}}"{{#if author}}, {{{ author }}}{{/if}}
|
||||
{{#if url}}{{{ url }}}
|
||||
{{/if}}
|
||||
{{#if summary }}{{{ summary }}}
|
||||
{{/if}}
|
||||
{{#if date}}{{{ date }}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/section}}
|
@ -47,6 +47,8 @@
|
||||
|
||||
{{> section/writing }}
|
||||
|
||||
{{> section/reading }}
|
||||
|
||||
{{> section/recognition }}
|
||||
|
||||
{{> section/speaking }}
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
{{> section/writing }}
|
||||
|
||||
{{> section/reading }}
|
||||
|
||||
{{> section/service }}
|
||||
|
||||
{{> section/recognition }}
|
||||
|
@ -47,6 +47,8 @@
|
||||
|
||||
{{> section/writing }}
|
||||
|
||||
{{> section/reading }}
|
||||
|
||||
{{> section/recognition }}
|
||||
|
||||
{{> section/speaking }}
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
{{> section/writing }}
|
||||
|
||||
{{> section/reading }}
|
||||
|
||||
{{> section/service }}
|
||||
|
||||
{{> section/recognition }}
|
||||
|
@ -362,7 +362,9 @@
|
||||
{{#section "education"}}{{> section/education }}{{/section}}
|
||||
{{#section "service"}}{{> section/service }}{{/section}}
|
||||
{{#section "writing"}}{{> section/writing }}{{/section}}
|
||||
{{#section "reading"}}{{> section/reading }}{{/section}}
|
||||
{{#section "recognition"}}{{> section/recognition }}{{/section}}
|
||||
{{#section "references"}}{{> section/references }}{{/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"/>
|
||||
|
@ -30,6 +30,7 @@
|
||||
{{#*inline "icon-service"}}<span class="fa fa-child"></span>{{/inline}}
|
||||
{{#*inline "icon-samples"}}<span class="fa fa-share"></span>{{/inline}}
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-pencil"></span>{{/inline}}
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-book"></span>{{/inline}}
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-trophy"></span>{{/inline}}
|
||||
{{#*inline "icon-speaking"}}<span class="fa fa-users"></span>{{/inline}}
|
||||
{{#*inline "icon-testimonials"}}<span class="fa fa-thumbs-o-up"></span>{{/inline}}
|
||||
@ -90,6 +91,7 @@
|
||||
{{> section/service _icon="icon-service"}}
|
||||
{{> section/samples _icon="icon-samples"}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
{{> section/speaking _icon="icon-speaking"}}
|
||||
{{> section/testimonials _icon="icon-testimonials"}}
|
||||
|
@ -18,7 +18,66 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!<!--
|
||||
|
||||
INLINE TEMPLATE DEFINITIONS
|
||||
|
||||
-->}}
|
||||
|
||||
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-code"></span>{{/inline}}
|
||||
{{#*inline "icon-employment"}}<span class="fa fa-building"></span>{{/inline}}
|
||||
{{#*inline "icon-projects"}}<span class="fa fa-star"></span>{{/inline}}
|
||||
{{#*inline "icon-education"}}<span class="fa fa-mortar-board"></span>{{/inline}}
|
||||
{{#*inline "icon-service"}}<span class="fa fa-child"></span>{{/inline}}
|
||||
{{#*inline "icon-samples"}}<span class="fa fa-share"></span>{{/inline}}
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-pencil"></span>{{/inline}}
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-book"></span>{{/inline}}
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-trophy"></span>{{/inline}}
|
||||
{{#*inline "icon-speaking"}}<span class="fa fa-users"></span>{{/inline}}
|
||||
{{#*inline "icon-testimonials"}}<span class="fa fa-thumbs-o-up"></span>{{/inline}}
|
||||
{{#*inline "icon-references"}}<span class="fa fa-thumbs-o-up"></span>{{/inline}}
|
||||
|
||||
{{#*inline "body-employment" }}
|
||||
<div>
|
||||
<h3><em>{{ position }}</em>,
|
||||
{{#if url }}
|
||||
<a href="{{{ url }}}">{{ employer }}</a>
|
||||
{{else}}
|
||||
{{ employer }}
|
||||
{{/if}}
|
||||
</h3>
|
||||
<span class="tenure">{{dateRange .}}</span>
|
||||
<p>{{{ summary }}}</p>
|
||||
{{> highlights }}
|
||||
{{#if keywords}}
|
||||
<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/inline}}
|
||||
|
||||
{{#*inline "body-projects" }}
|
||||
<div>
|
||||
<h3><em>{{ role }}</em>,
|
||||
{{#if url }}
|
||||
<a href="{{{ url }}}">{{ title }}</a>
|
||||
{{else}}
|
||||
{{ title }}
|
||||
{{/if}}
|
||||
</h3>
|
||||
<span class="tenure">{{dateRange .}}</span>
|
||||
<p>{{{ summary }}}</p>
|
||||
{{> highlights }}
|
||||
{{#if keywords}}
|
||||
<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/inline}}
|
||||
|
||||
{{!<!--
|
||||
|
||||
RESUME SECTIONS
|
||||
|
||||
-->}}
|
||||
|
||||
{{#has "info.brief"}}
|
||||
<section id="summary">
|
||||
@ -26,49 +85,18 @@
|
||||
</section>
|
||||
{{/has}}
|
||||
|
||||
|
||||
|
||||
{{!<!--
|
||||
Use predefined global partials for the other sections.
|
||||
|
||||
The "inline" bit before each section allows us to pass a custom heading
|
||||
icon into the global partial. For this theme, we're using Font Awesome.
|
||||
-->}}
|
||||
|
||||
{{#*inline "icon-skills"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||
{{> section/skills }}
|
||||
|
||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||
{{> section/employment }}
|
||||
|
||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||
{{> section/projects }}
|
||||
|
||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||
{{> section/education }}
|
||||
|
||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||
{{> section/service }}
|
||||
|
||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||
{{> section/samples }}
|
||||
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||
{{> section/writing }}
|
||||
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||
{{> section/recognition }}
|
||||
|
||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||
{{> section/speaking }}
|
||||
|
||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||
{{> section/testimonials }}
|
||||
|
||||
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||
{{> section/references }}
|
||||
|
||||
|
||||
{{> section/skills _icon="icon-skills"}}
|
||||
{{> section/employment _icon="icon-employment"}}
|
||||
{{> section/projects _icon="icon-projects"}}
|
||||
{{> section/education _icon="icon-education"}}
|
||||
{{> section/service _icon="icon-service"}}
|
||||
{{> section/samples _icon="icon-samples"}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
{{> section/speaking _icon="icon-speaking"}}
|
||||
{{> section/testimonials _icon="icon-testimonials"}}
|
||||
{{> section/references _icon="icon-references"}}
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
@ -200,6 +200,7 @@
|
||||
{{#*inline "header-education"}}{{> header-icon _title="EDUCATION" _section="education" _icon="pict/edu" }}{{/inline}}
|
||||
{{#*inline "header-service"}}{{> header-icon _title="SERVICE" _section="service" _icon="pict/srv" }}{{/inline}}
|
||||
{{#*inline "header-writing"}}{{> header-icon _title="WRITING" _section="writing" _icon="pict/wri" }}{{/inline}}
|
||||
{{#*inline "header-reading"}}{{> header-icon _title="READING" _section="reading" _icon="pict/wri" }}{{/inline}}
|
||||
{{#*inline "header-recognition"}}{{> header-icon _title="RECOGNITION" _section="recognition" _icon="pict/rec" }}{{/inline}}
|
||||
{{#*inline "header-speaking"}}{{> header-icon _title="SPEAKING" _section="speaking" _icon="pict/arrow" }}{{/inline}}
|
||||
{{#*inline "header-references"}}{{> header-icon _title="REFERENCES" _section="references" _icon="pict/arrow" }}{{/inline}}
|
||||
@ -222,6 +223,7 @@
|
||||
{{#section "education"}}{{> section/education }}{{/section}}
|
||||
{{#section "service"}}{{> section/service }}{{/section}}
|
||||
{{#section "writing"}}{{> section/writing }}{{/section}}
|
||||
{{#section "writing"}}{{> section/reading }}{{/section}}
|
||||
{{#section "recognition"}}{{> section/recognition }}{{/section}}
|
||||
{{#section "speaking"}}{{> section/speaking }}{{/section}}
|
||||
{{#section "references"}}{{> section/references }}{{/section}}
|
||||
|
@ -286,6 +286,7 @@ also doesn't render any content.
|
||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-lg fa-book"></span>{{/inline}}
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||
@ -300,6 +301,7 @@ also doesn't render any content.
|
||||
{{> section/service _icon="icon-service"}}
|
||||
{{> section/samples _icon="icon-samples"}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
{{> section/speaking _icon="icon-speaking"}}
|
||||
{{> section/testimonials _icon="icon-testimonials"}}
|
||||
|
@ -114,6 +114,7 @@
|
||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-lg fa-book"></span>{{/inline}}
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
|
||||
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
|
||||
@ -123,6 +124,7 @@
|
||||
{{> section/service _icon="icon-service"}}
|
||||
{{> section/samples _icon="icon-samples"}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
{{> section/speaking _icon="icon-speaking"}}
|
||||
{{> section/testimonials _icon="icon-testimonials"}}
|
||||
|
@ -552,6 +552,11 @@
|
||||
{{/inline}}
|
||||
{{#section "writing"}}{{> section/writing }}{{/section}}
|
||||
|
||||
{{#*inline "header-reading"}}
|
||||
{{> header-icon _title="READING" _section="reading" _icon="pict/wri" }}
|
||||
{{/inline}}
|
||||
{{#section "reading"}}{{> section/reading }}{{/section}}
|
||||
|
||||
{{#*inline "header-recognition"}}
|
||||
{{> header-icon _title="RECOGNITION" _section="recognition" _icon="pict/rec" }}
|
||||
{{/inline}}
|
||||
|
@ -55,6 +55,9 @@
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-lg fa-book"></span>{{/inline}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
|
||||
|
@ -56,6 +56,9 @@
|
||||
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
|
||||
{{#*inline "icon-reading"}}<span class="fa fa-lg fa-book"></span>{{/inline}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
|
||||
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
|
||||
{{> section/recognition _icon="icon-recognition"}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user