You've already forked jsonresume
Add short address
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
{{if .Basic.Location.City}}
|
||||
<span class="location">
|
||||
{{- if .UseFullAddress -}}
|
||||
{{if .Basic.Location.Address}}
|
||||
<span class="address">{{.Basic.Location.Address}},</span>
|
||||
{{- end}}
|
||||
@@ -38,6 +39,11 @@
|
||||
{{if .Basic.Location.City}}
|
||||
<span class="city">{{.Basic.Location.City}},</span>
|
||||
{{- end}}
|
||||
{{- else -}}
|
||||
{{if .Basic.Location.ShortAddress}}
|
||||
<span class="city">{{.Basic.Location.ShortAddress}},</span>
|
||||
{{- end}}
|
||||
{{- end -}}
|
||||
{{if .Basic.Location.Region}}
|
||||
<span class="region">{{.Basic.Location.Region}}</span>
|
||||
{{- end}}
|
||||
@@ -59,7 +65,7 @@
|
||||
<a href="mailto:{{.Basic.Email}}">{{.Basic.Email}}</a>
|
||||
</div>
|
||||
{{- end}}
|
||||
{{if .Basic.Phone}}
|
||||
{{if and .Basic.Phone .UseFullAddress}}
|
||||
<div class="phone">
|
||||
<span class="fas fa-mobile-alt"></span>
|
||||
<a href="tel:{{.Basic.Phone}}">{{.Basic.Phone}}</a>
|
||||
|
||||
Reference in New Issue
Block a user