|
17 | 17 | })();
|
18 | 18 |
|
19 | 19 | </script>
|
| 20 | +<script type="text/javascript"> |
| 21 | + var DIGITAL_CLIMATE_STRIKE_OPTIONS = { |
| 22 | + |
| 23 | + /** |
| 24 | + * Allow you to override the iFrame hostname. Defaults to https://assets.digitalclimatestrike.net |
| 25 | + */ |
| 26 | + iframeHost: 'https://assets.digitalclimatestrike.net', // @type {string} |
| 27 | + |
| 28 | + /** |
| 29 | + * Prevents the widget iframe from loading Google Analytics. Defaults to |
| 30 | + * false. (Google Analytics will also be disabled if doNotTrack is set on |
| 31 | + * the user's browser.) |
| 32 | + */ |
| 33 | + disableGoogleAnalytics: false, // @type {boolean} |
| 34 | + |
| 35 | + /** |
| 36 | + * Always show the widget, even when someone has closed the widget and set the cookie on their device. |
| 37 | + * Useful for testing. Defaults to false. |
| 38 | + */ |
| 39 | + alwaysShowWidget: false, // @type {boolean} |
| 40 | + |
| 41 | + /** |
| 42 | + * Automatically makes the widget full page. Defaults to false. |
| 43 | + */ |
| 44 | + forceFullPageWidget: false, // @type {boolean} |
| 45 | + |
| 46 | + /** |
| 47 | + * For the full page widget, shows a close button "x" and hides the message about the site being |
| 48 | + * available tomorrow. Defaults to false. |
| 49 | + */ |
| 50 | + showCloseButtonOnFullPageWidget: true, // @type {boolean} |
| 51 | + |
| 52 | + |
| 53 | + /** |
| 54 | + * The date when the full page widget should showing on your web site for 24 hours. |
| 55 | + * Note: the month is one integer less than the number of the month. E.g. 8 is September, not August. |
| 56 | + * Defaults to new Date(2019, 8, 20) (September 20th, 2019) |
| 57 | + */ |
| 58 | + fullPageDisplayStartDate: new Date(2019, 8, 20), //@ type {Date object} |
| 59 | + }; |
| 60 | +</script> |
| 61 | +<script src="https://assets.digitalclimatestrike.net/widget.js" async></script> |
20 | 62 | {% endblock %}
|
0 commit comments