{# Skimlinks integration - This widget only loads a script. No html snippets needed. # The widget will display if the word 'skimlinks' is included in the active array. This array should be filled by a multi-select field in the record. # Configuration in theme.yml: # widgets: # skimlinks: # id: -widget id- #} {% set active = active|default([]) %} {% if 'skimlinks' in active %} {% set res = consentRegisterScript('https://s.skimresources.com/js/'~(theme.widgets.skimlinks.id|default)~'.skimlinks.js','TARGETING', 'skymlinks', {'appendTo':'body'}) %} {% endif %}