From 21de6997a391fd20678a005f314dbf8814651235 Mon Sep 17 00:00:00 2001 From: Jonathon Lui Date: Tue, 31 May 2016 17:41:54 -0700 Subject: [PATCH 1/2] Fixed {{#has }} usage --- themes/modern/src/modern-html.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}}{{/has}} - {{#has r.contact.phone}}
{{ RAW.contact.phone }}
{{/has}} - {{#has r.contact.website}}{{/has}} + {{#has 'contact.email'}}{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}{{/has}}
From a9989d94b62abe6ed6d0c5c0db1ec3058cbd0af3 Mon Sep 17 00:00:00 2001 From: Jonathon Lui Date: Tue, 31 May 2016 17:46:45 -0700 Subject: [PATCH 2/2] Fixed #has in modern-pdf.html --- themes/modern/src/modern-pdf.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/modern/src/modern-pdf.html b/themes/modern/src/modern-pdf.html index 41f1586..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}}{{/has}} - {{#has r.contact.phone}}
{{ RAW.contact.phone }}
{{/has}} - {{#has r.contact.website}}{{/has}} + {{#has 'contact.email'}}{{/has}} + {{#has 'contact.phone'}}
{{ RAW.contact.phone }}
{{/has}} + {{#has 'contact.website'}}{{/has}}