Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.md #813

Merged
merged 1 commit into from
Jan 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 0 additions & 68 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,74 +5,6 @@ layout: docs

---

<script type="text/javascript">
var DIGITAL_CLIMATE_STRIKE_OPTIONS = {
/**
* Specify view cookie expiration. After initial view, widget will not be
* displayed to a user again until after this cookie expires. Defaults to
* one day.
*/
cookieExpirationDays: 1, // @type {number}

/**
* Set the language of the widget. We currently support:
* 'en': English
* 'de': German
* 'es': Spanish
* 'cs': Czech
* 'fr': French
* 'nl': Dutch
* Defaults to null, which will obey the nagivator.language setting of the
* viewer's browser.
*/
language: null, // @type {string}

/**
* Allow you to override the iFrame hostname. Defaults to https://assets.digitalclimatestrike.net
*/
iframeHost: 'https://assets.digitalclimatestrike.net', // @type {string}

/**
* Prevents the widget iframe from loading Google Analytics. Defaults to
* false. (Google Analytics will also be disabled if doNotTrack is set on
* the user's browser.)
*/
disableGoogleAnalytics: true, // @type {boolean}

/**
* Always show the widget, even when someone has closed the widget and set the cookie on their device.
* Useful for testing. Defaults to false.
*/
alwaysShowWidget: false, // @type {boolean}

/**
* Automatically makes the widget full page. Defaults to false.
*/
forceFullPageWidget: false, // @type {boolean}

/**
* For the full page widget, shows a close button "x" and hides the message about the site being
* available tomorrow. Defaults to false.
*/
showCloseButtonOnFullPageWidget: true, // @type {boolean}

/**
* The date when the sticky footer widget should start showing on your web site.
* Note: the month is one integer less than the number of the month. E.g. 8 is September, not August.
* Defaults to new Date(2019, 7, 1) (August 1st, 2019).
*/
footerDisplayStartDate: new Date(), //@ type {Date object}

/**
* The date when the full page widget should showing on your web site for 24 hours.
* Note: the month is one integer less than the number of the month. E.g. 8 is September, not August.
* Defaults to new Date(2019, 8, 20) (September 20th, 2019)
*/
fullPageDisplayStartDate: new Date(2019, 8, 20), //@ type {Date object}
};
</script>
<script src="https://assets.digitalclimatestrike.net/widget.js" async></script>

<div class="container padding-top-40 padding-bottom-50" data-nav-waypoint>
<div class="copy-block">
<h3 class="h3 h3--blue margin-bottom-10">The more you know.</h3>
Expand Down