{{ $lang := .Lang }} {{ range .Buttons }} <a rel="me" role="button" alt="{{ .name }}" title="{{ .name }}" href="{{ replace .URL "<lang>" $lang }}"> <i class="icon-{{ .icon }}" alt="{{ .icon }} social icon"></i> </a> {{ end }}