3 lines
164 B
HTML
3 lines
164 B
HTML
{{- $target := .Get "target" | default "state.id" -}}
|
|
{{- $prefix := .Get "prefix" | default "?id=" -}}
|
|
<a :href="'{{ $prefix }}' + {{ $target }}">{{ .Inner }}</a>
|