{{ $name := .name }} {{- $url := .url }} {{- $icon := .icon }} {{- if $url }} {{- with $icon }} {{- end }} {{- with $name }} {{.}} {{- end }} {{- else }} {{- with $icon }} {{- end }} {{- with $name }} {{.}} {{- end }} {{- end }}