Risolve #208 Co-authored-by: amreo <amreo0x+github@protonmail.com> Reviewed-on: #210 Reviewed-by: Paolo Asperti <paspo@noreply.libreschool.org> Co-authored-by: amreo <amreo@noreply.libreschool.org> Co-committed-by: amreo <amreo@noreply.libreschool.org>
9 lines
579 B
HTML
9 lines
579 B
HTML
<div>
|
|
{{ with index ( index .Site.Data .Site.Language.Lang | default .Site.Data ) (.Param "homepage_data" | default "homepage") }}
|
|
{{ if .importantWarning.enabled}}
|
|
<div style="text-align: center; background-color: yellow; font-weight: bold; font-size: xx-large; padding-top: 10px; padding-bottom: 10px;">
|
|
<a href="{{ urls.AbsURL .importantWarning.link }}" style="color: blue; text-decoration: underline;">⚠️⚠️⚠️ {{ .importantWarning.message }} ⚠️⚠️⚠️</a>
|
|
</div>
|
|
{{- end -}}
|
|
{{ end }}
|
|
</div> |