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