aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/flag.html
blob: 8bcdd5826b08c7427e829b7807b7103d7a7e4ac6 (plain) (blame)
1
2
3
4
5
6
<span class="flag">
  <img class="flag__img" src="/img/flags/{{ .code }}.svg" {{ if .text }}aria-hidden="true"{{ end }} {{ if .alt }}alt="{{ .alt }}"{{ else }}alt=""{{ end }} />
  {{- if .text }}
  {{ .text }}
  {{- end }}
</span>