mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2026-05-19 18:01:22 +00:00
10 lines
259 B
HTML
10 lines
259 B
HTML
{{- /*
|
|
Renders a table cell value: plain text (e.g. TBA) or a link with label + url.
|
|
Expects dict: label, url, text (only one style used).
|
|
*/ -}}
|
|
{{- if .url -}}
|
|
<a href="{{ .url }}" target="_blank">{{ .label }}</a>
|
|
{{- else -}}
|
|
{{- .text -}}
|
|
{{- end -}}
|