{{.Title}}

{{if ne .Icon ""}}
{{template "icon" .Icon}}
{{end}}
{{ range $name, $info := .Data }} {{$data := dict "target" ""}} {{- if eq $info.target "sameTab" -}} {{- $_ := set $data "target" "_self" -}} {{- else if eq $info.target "newTab" -}} {{- $_ := set $data "target" "_blank" -}} {{- else -}} {{- $_ := set $data "target" "_self" -}} {{- end -}} {{$name}} {{end}}