1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +00:00

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

View File

@ -52,7 +52,7 @@
% Comment any of the lines below if they are not required % Comment any of the lines below if they are not required
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\name{[~ print(h.initialWords( r.name )) ~]}{[[ h.lastWord( r.name ) ]]} \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 ]]} \address{[[ r.location.address ]]}
\mobile{[[ r.contact.phone ]]} \mobile{[[ r.contact.phone ]]}