mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-05 05:17:07 +01:00
Introduce affiliation section.
This commit is contained in:
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}}
|
Reference in New Issue
Block a user