website/layouts/shortcodes/thirdparty-content.html

10 lines
337 B
HTML
Raw Normal View History

2021-10-02 15:28:54 +00:00
{{- $single := .Get "single" | default "false" -}}
<div class="alert alert-secondary callout third-party-content" role="alert">
{{- if not (eq $single "true" ) -}}
<strong>{{ T "note" | safeHTML }}</strong>
{{ T "thirdparty_message" | safeHTML }}
2021-10-02 15:28:54 +00:00
{{- else -}}
{{ T "thirdparty_message_single_item" | safeHTML }}
{{- end -}}
</div>