diff --git a/partials/doc/section/references.xml b/partials/doc/section/references.xml new file mode 100644 index 0000000..9aa9e52 --- /dev/null +++ b/partials/doc/section/references.xml @@ -0,0 +1,49 @@ + + + {{#> header-references }} + {{> header-simple _title="REFERENCES" _section="references" }} + {{/header-references}} + + {{#each r.references}} + + + + + + + + + + + {{{ name }}} + + {{#if role}} + + , {{{ role }}} + + {{/if}} + {{#if category}} + + ({{{ category }}}) + + {{/if}} + + + + + {{formatDate safe.start 'MMM YYYY'}} — {{formatDate safe.end 'MMM YYYY'}} + + + + + + + + + {{{wpml summary true}}} + + + + {{/each}} + + diff --git a/partials/md/section/references.hbs b/partials/md/section/references.hbs new file mode 100644 index 0000000..3a311b3 --- /dev/null +++ b/partials/md/section/references.hbs @@ -0,0 +1,14 @@ +{{#section "references"}} +## {{{sectionTitle "REFERENCES"}}} + +{{#each r.references }} +### *{{{ name }}}*{{#if role}}, {{{ role }}}{{/if}}{{#if category}} ({{{ category }}}){{/if}} +{{#if summary }} +{{{ summary }}} +{{/if}} +{{#if contact}}{{#each contact }}{{{ label }}}: {{{ value }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/partials/txt/section/references.hbs b/partials/txt/section/references.hbs new file mode 100644 index 0000000..64c6eae --- /dev/null +++ b/partials/txt/section/references.hbs @@ -0,0 +1,14 @@ +{{#section "references"}} +{{{sectionTitle "REFERENCES"}}} --------------------------------------------------------------------- + +{{#each r.references }} +{{{ name }}}{{#if role}}, {{{ role }}}{{/if}}{{#if category}} ({{{ category }}}){{/if}} +{{#if summary }} +{{{ summary }}} +{{/if}} +{{#if contact}}{{#each contact }}{{{ label }}}: {{{ value }}} +{{/each}} +{{/if}} + +{{/each}} +{{/section}} diff --git a/themes/basis/src/md.txt b/themes/basis/src/md.txt index 6458e14..8c15fc6 100644 --- a/themes/basis/src/md.txt +++ b/themes/basis/src/md.txt @@ -23,3 +23,5 @@ {{> section/recognition }} {{> section/speaking }} + +{{> section/references }} diff --git a/themes/basis/src/txt.txt b/themes/basis/src/txt.txt index b39cd53..51ac468 100644 --- a/themes/basis/src/txt.txt +++ b/themes/basis/src/txt.txt @@ -21,3 +21,5 @@ {{> section/service }} {{> section/recognition }} + +{{> section/references }} diff --git a/themes/modern/src/modern-doc.xml b/themes/modern/src/modern-doc.xml index e12dea4..8c53dd7 100644 --- a/themes/modern/src/modern-doc.xml +++ b/themes/modern/src/modern-doc.xml @@ -202,6 +202,7 @@ {{#*inline "header-writing"}}{{> header-icon _title="WRITING" _section="writing" _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}} {{!