diff --git a/src/partials/contact.html b/src/partials/contact.html index 87dde10..7b94f2c 100644 --- a/src/partials/contact.html +++ b/src/partials/contact.html @@ -1,7 +1,34 @@

{{{r.name}}}

- {{#if r.location.city}}

 {{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}

{{/if}} - {{#if r.contact.email}}

 {{r.contact.email}}

{{/if}} - {{#if r.contact.phone}}

 {{r.contact.phone}}

{{/if}} - {{#if r.contact.website}}

 {{RAW.contact.website}}

{{/if}} + {{#if r.location.city}} +

 {{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}

+ {{/if}} + {{#if r.contact.email}} +

 {{r.contact.email}}

+ {{/if}} + {{#if r.contact.phone}} +

 {{r.contact.phone}}

+ {{/if}} + {{#if r.contact.website}} +

 {{RAW.contact.website}}

+ {{/if}} + {{#if r.social}} + {{#each r.social}} + {{#compare network "GitHub" operator="=="}} +

 {{{url}}}

+ {{/compare}} + {{#compare network "Bitbucket" operator="=="}} +

 {{{url}}}

+ {{/compare}} + {{#compare network "LinkedIn" operator="=="}} +

 {{{url}}}

+ {{/compare}} + {{#compare network "Twitter" operator="=="}} +

 {{{url}}}

+ {{/compare}} + {{#compare network "Facebook" operator="=="}} +

 {{{url}}}

+ {{/compare}} + {{/each}} + {{/if}}
diff --git a/test/resume.json b/test/resume.json index bf817ab..8043945 100644 --- a/test/resume.json +++ b/test/resume.json @@ -88,7 +88,6 @@ ], "social": [ - { "label": "GitHub", "network": "GitHub",