diff --git a/themes/awesome/src/latex/examples/cv.tex b/themes/awesome/src/latex/examples/cv.tex index 74a84ce..f7e33fe 100644 --- a/themes/awesome/src/latex/examples/cv.tex +++ b/themes/awesome/src/latex/examples/cv.tex @@ -52,7 +52,7 @@ % Comment any of the lines below if they are not required %------------------------------------------------------------------------------- \name{[~ print(h.initialWords( r.name )) ~]}{[[ h.lastWord( r.name ) ]]} -\position{[[ r.info.label ]]} +[~ if (r.info.label) { ~]\position{[[ r.info.label ]]}[~ } ~] \address{[[ r.location.address ]]} \mobile{[[ r.contact.phone ]]} diff --git a/themes/modern/src/modern-html.html b/themes/modern/src/modern-html.html index d5efab7..6a6a7a3 100644 --- a/themes/modern/src/modern-html.html +++ b/themes/modern/src/modern-html.html @@ -90,9 +90,9 @@ engine settings, but ((#has 'contact.email')) never will. --> }}
- {{#has r.contact.email}}
{{ RAW.contact.email }}
{{/has}} - {{#has r.contact.phone}}
{{ RAW.contact.phone }}
{{/has}} - {{#has r.contact.website}}
{{ RAW.contact.website }}
{{/has}} + {{#has 'contact.email'}}
{{ RAW.contact.email }}
{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}
{{ RAW.contact.website }}
{{/has}}
diff --git a/themes/modern/src/modern-pdf.html b/themes/modern/src/modern-pdf.html index 8275765..0d16904 100644 --- a/themes/modern/src/modern-pdf.html +++ b/themes/modern/src/modern-pdf.html @@ -90,9 +90,9 @@ engine settings, but ((#has 'contact.email')) never will. --> }}
- {{#has 'r.contact.email'}}
{{ RAW.contact.email }}
{{/has}} - {{#has 'r.contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} - {{#has 'r.contact.website'}}
{{ RAW.contact.website }}
{{/has}} + {{#has 'contact.email'}}
{{ RAW.contact.email }}
{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}
{{ RAW.contact.website }}
{{/has}}