-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to not include Country in Location #9
Comments
Hi, just like in #10 you can also override the // Each section function can be overridden by re-declaring it here
#let addresstext(info, uservars) = {
if uservars.showAddress {
block(width: 100%)[
#info.personal.location.city, #info.personal.location.region // <===== Edit the address text
#v(-4pt)
]
} else {none}
}
// Create layout of the title + contact info
// Just copied this verbatim with no change for new addresstext() function to work
#let cvheading(info, uservars) = {
align(center)[
= #info.personal.name
#addresstext(info, uservars)
#contacttext(info, uservars)
// #v(0.5em)
]
} You need to redeclare both of these functions in the |
@jskherman I think we could make several fields optional/won't be shown if user don't provide the YAML key/value. What do you think? |
That would be for the best, but I don't think I'll be able to work on this anytime soon. If someone could do a PR along the lines of phamson02's suggestion... |
I will try to work on it! |
Hi sorry for taking so long, the |
If I comment out the Country in the value part, it still adds a comma after the Region
The text was updated successfully, but these errors were encountered: