diff --git a/partials/html/section/info.hbs b/partials/html/section/info.hbs new file mode 100644 index 0000000..e7a97de --- /dev/null +++ b/partials/html/section/info.hbs @@ -0,0 +1,11 @@ +{{#has 'info.brief'}} +
+
+ {{#> header-info }} + {{> header-icon _title="About" _section="info" _hdricon=(lookup . '_icon') }} + {{/header-info}} + {{#> body-info }} + {{{ r.info.brief }}} + {{/body-info}} +
+{{/has}} diff --git a/partials/md/section/info.hbs b/partials/md/section/info.hbs new file mode 100644 index 0000000..900069b --- /dev/null +++ b/partials/md/section/info.hbs @@ -0,0 +1 @@ +{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}} diff --git a/partials/txt/section/info.hbs b/partials/txt/section/info.hbs new file mode 100644 index 0000000..900069b --- /dev/null +++ b/partials/txt/section/info.hbs @@ -0,0 +1 @@ +{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}} diff --git a/themes/basis/src/md.txt b/themes/basis/src/md.txt index 748fc7a..2f118a0 100644 --- a/themes/basis/src/md.txt +++ b/themes/basis/src/md.txt @@ -4,7 +4,7 @@ {{#has 'contact.phone' }}Tel: {{{ r.contact.phone }}}{{/has}} {{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}} -{{#has "info.brief" }}{{{ r.info.brief }}}{{/has}} +{{> section/info }} {{> section/skills }} diff --git a/themes/basis/src/txt.txt b/themes/basis/src/txt.txt index 732464c..157db48 100644 --- a/themes/basis/src/txt.txt +++ b/themes/basis/src/txt.txt @@ -4,7 +4,7 @@ {{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}} ================================================================================ -{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}} +{{> section/info }} {{> section/skills }} diff --git a/themes/compact/src/compact-html.html b/themes/compact/src/compact-html.html index 4f99aa4..70f04c7 100644 --- a/themes/compact/src/compact-html.html +++ b/themes/compact/src/compact-html.html @@ -23,6 +23,7 @@ -->}} +{{#*inline "icon-info"}}{{/inline}} {{#*inline "icon-skills"}}{{/inline}} {{#*inline "icon-employment"}}{{/inline}} {{#*inline "icon-projects"}}{{/inline}} @@ -79,12 +80,7 @@ -->}} -{{#has "info.brief"}} -
- {{{ r.info.brief }}} -
-{{/has}} - +{{> section/info _icon="icon-info"}} {{> section/skills _icon="icon-skills"}} {{> section/employment _icon="icon-employment"}} {{> section/projects _icon="icon-projects"}} diff --git a/themes/modern/src/modern-html.html b/themes/modern/src/modern-html.html index da5d36c..1f3c915 100644 --- a/themes/modern/src/modern-html.html +++ b/themes/modern/src/modern-html.html @@ -98,38 +98,11 @@ {{!}} -{{#has 'info.brief'}} -
-
- - {{!}} - -

{{{sectionTitle "info" "About"}}}

- - - {{!}} - - {{{ r.info.brief }}} -
-{{/has}} +{{#*inline "icon-info"}}{{/inline}} +{{> section/info _icon="icon-info" }} {{! }} - {{{styleSheet "modern-pdf.css" "embed"}}} + {{{styleSheet "modern-html.css"}}} {{! }} -{{#has 'info.brief'}} -
-
- - {{!}} - -

{{{sectionTitle "info" "About"}}}

- - - {{!}} - - {{{ r.info.brief }}} -
-{{/has}} +{{#*inline "icon-info"}}{{/inline}} +{{> section/info _icon="icon-info" }} {{!