{% set watermarkSetting = setting('watermarkSetting.enabled', 0 ) %}
{% if watermarkSetting %}
<div id="plugin-data-watermark"
data-watermark-setting="{{ get_watermark_text()|json_encode }}"
data-watermark-txt="{{ get_watermark_text()|json_encode }}"
data-watermark-color="{{ setting('watermarkSetting.color', '#d0d0d2') }}"
data-watermark-alpha="{{ setting('watermarkSetting.alpha', 20) }}"
></div>
{% endif %}