webseite/templates/blocks/flow_social_media_link.html
L3D fd742c7049 redesign website (!1)
Co-authored-by: L3D <l3d@see-base.de>
Reviewed-on: https://backwesen.de/c3woc/webseite/pulls/1
2022-05-18 00:35:37 +02:00

28 lines
1 KiB
HTML

{#- define social Media stuff -#}
{{- '\n ' -}}<p>{{ this.sm_what }}{{ ' ' }}
{%- if this.title is defined and this.title != '' -%}
<a href="{{ this.sm_link }}">{{ this.title }}</a>
{%- endif -%}
{%- if this.sm_what_2 is defined and this.sm_what_2 != '' -%}
{{- '\n ' -}}
{{- this.sm_what_2 -}}
{{- ' ' -}}
<a href=" {{ this.sm_link_2 }}">{{ this.title_2 }}</a>
{%- endif -%}
{{- '\n ' -}}
&emsp;<a href="{{ this.sm_link }}">
{{- '\n ' -}}
<img class="content__inline_image" src="{{ this.sm_image }}" alt="{{ this.title }} Logo" height="16">
{{- '\n ' -}}
</a>
{%- if this.sm_link_2 is defined and this.sm_link_2 != '' -%}
{{- '\n ' -}}
<a href="{{ this.sm_link_2 }}">
{{- '\n ' -}}
<img class="content__inline_image" src="{{ this.sm_image_2 }}" alt="{{ this.title_2 }} Logo" height="16">
{{- '\n ' -}}
</a>
{%- endif -%}
{{- '\n ' -}}
</p>
{#- TEMPLATE ENDE -#}