1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-03 12:27:07 +01:00

Improve "references" coverage.

1. Introduce TXT, MD, and DOC section partials for "references".
2. Reference TXT/MD partials from Basis theme so inherited themes
(Modern, Compact, Positive) see the changes.
This commit is contained in:
hacksalot
2016-01-19 23:25:50 -05:00
parent bc77d70ed5
commit fe6046a107
7 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,49 @@
<wx:sub-section>
{{#> header-references }}
{{> header-simple _title="REFERENCES" _section="references" }}
{{/header-references}}
{{#each r.references}}
<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>{{{ name }}}</w:t>
</w:r>
{{#if role}}
<w:r wsp:rsidR="009452CA" wsp:rsidRPr="00606071">
<w:t>, {{{ role }}}</w:t>
</w:r>
{{/if}}
{{#if category}}
<w:r wsp:rsidR="009452CA" wsp:rsidRPr="00606071">
<w:t> ({{{ category }}})</w:t>
</w:r>
{{/if}}
<w:r wsp:rsidR="00EA0B64">
<w:tab/>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>{{formatDate safe.start 'MMM YYYY'}} — {{formatDate safe.end '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>
</wx:sub-section>
{{/each}}
</wx:sub-section>