Merge pull request #56 from ben-e-whitney/position-definition

Awesome: Avoid LaTeX error when label is undefined.
This commit is contained in:
hacksalot 2018-01-24 22:44:20 -05:00 committed by GitHub
commit 51c8451137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 ]]}