mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-25 01:20:10 +00:00
Introduce affiliation section.
This commit is contained in:
parent
9bf5d43f87
commit
eb0d731d55
68
partials/doc/section/affiliation.xml
Normal file
68
partials/doc/section/affiliation.xml
Normal file
@ -0,0 +1,68 @@
|
||||
<wx:sub-section>
|
||||
|
||||
{{#> header-affiliation }}
|
||||
{{> header-simple _title="AFFILIATION" _section="affiliation" }}
|
||||
{{/header-affiliation}}
|
||||
|
||||
{{#each r.affiliation.history}}
|
||||
|
||||
<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>
|
||||
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
|
||||
<w:t>{{ role }}, </w:t>
|
||||
</w:r>
|
||||
{{#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>{{ organization }}</w:t>
|
||||
</w:r>
|
||||
{{#if url}}</w:hlink>{{/if}}
|
||||
<w:r wsp:rsidR="00EA0B64">
|
||||
<w:tab/>
|
||||
</w:r>
|
||||
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
|
||||
<w:t>{{dateRange . 'MMM YYYY'}}</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<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>
|
||||
|
||||
{{#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>
|
26
partials/html/section/affiliation.html
Normal file
26
partials/html/section/affiliation.html
Normal file
@ -0,0 +1,26 @@
|
||||
{{#section "affiliation"}}
|
||||
<hr>
|
||||
<section id="affiliation">
|
||||
{{#> header-affiliation }}
|
||||
{{> header-icon _title="AFFILIATION" _section="affiliation" _hdricon=(lookup . '_icon') }}
|
||||
{{/header-affiliation}}
|
||||
|
||||
{{#each r.affiliation.history}}
|
||||
{{#> body-affiliation }}
|
||||
<div>
|
||||
<h3><em>{{ role }}</em>,
|
||||
{{#if url }}
|
||||
<a href="{{{ url }}}">{{ organization }}</a>
|
||||
{{else}}
|
||||
{{ organization }}
|
||||
{{/if}}
|
||||
</h3>
|
||||
<span class="tenure">{{dateRange .}}</span>
|
||||
{{{ summary }}}
|
||||
{{> highlights }}
|
||||
{{#if keywords}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>{{/if}}
|
||||
</div>
|
||||
{{/body-affiliation}}
|
||||
{{/each}}
|
||||
</section>
|
||||
{{/section}}
|
19
partials/md/section/affiliation.hbs
Normal file
19
partials/md/section/affiliation.hbs
Normal file
@ -0,0 +1,19 @@
|
||||
{{#section "affiliation"}}
|
||||
## {{{sectionTitle "AFFILIATION"}}}
|
||||
|
||||
{{#each r.affiliation.history }}
|
||||
{{#if url}}
|
||||
### *{{{ role }}}*, [{{{ organization }}}]({{{ url }}}) ({{dateRange .}})
|
||||
{{else}}
|
||||
### *{{{ role }}}*, {{{ organization }}} ({{dateRange .}})
|
||||
{{/if}}
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ . }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/section}}
|
14
partials/txt/section/affiliation.hbs
Normal file
14
partials/txt/section/affiliation.hbs
Normal file
@ -0,0 +1,14 @@
|
||||
{{#section "affiliation"}}
|
||||
{{{sectionTitle "AFFILIATION"}}} --------------------------------------------------------------------
|
||||
|
||||
{{#each r.affiliation.history }}
|
||||
{{#if role}}{{{ role }}}, {{/if}}{{{ organization }}} ({{dateRange .}})
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ this }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/section}}
|
@ -41,6 +41,8 @@
|
||||
|
||||
{{> section/education }}
|
||||
|
||||
{{> section/affiliation }}
|
||||
|
||||
{{> section/service }}
|
||||
|
||||
{{> section/samples }}
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
{{> section/education }}
|
||||
|
||||
{{> section/affiliation }}
|
||||
|
||||
{{> section/samples }}
|
||||
|
||||
{{> section/writing }}
|
||||
|
@ -41,6 +41,8 @@
|
||||
|
||||
{{> section/education }}
|
||||
|
||||
{{> section/affiliation }}
|
||||
|
||||
{{> section/service }}
|
||||
|
||||
{{> section/samples }}
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
{{> section/education }}
|
||||
|
||||
{{> section/affiliation }}
|
||||
|
||||
{{> section/samples }}
|
||||
|
||||
{{> section/writing }}
|
||||
|
@ -284,6 +284,7 @@ also doesn't render any content.
|
||||
|
||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||
{{#*inline "icon-affiliation"}}<span class="fa fa-lg fa-share-alt"></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}}
|
||||
@ -299,6 +300,7 @@ also doesn't render any content.
|
||||
|
||||
{{> section/education _icon="icon-education"}}
|
||||
{{> section/service _icon="icon-service"}}
|
||||
{{> section/affiliation _icon="icon-affiliation"}}
|
||||
{{> section/samples _icon="icon-samples"}}
|
||||
{{> section/writing _icon="icon-writing"}}
|
||||
{{> section/reading _icon="icon-reading"}}
|
||||
|
Loading…
Reference in New Issue
Block a user