{{ .Page.Scratch.Add "urls" (slice .Destination) }}
{{ $t := .Text }}
{{- if and (strings.HasPrefix .Destination "{") (.Destination | strings.Count "}") -}}
{{- range first 1 (split .Destination "}") -}}
{{- range $frmt := (split (substr . 1) ",") -}}
{{- if eq $frmt "sc" -}}
{{- $t -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- else -}}
www⁄{{ .Text | safeHTML }}
{{ end }}