Reconfigure `#DigitalClimateStrike`
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
0fa422a98d
commit
99e6c74b62
|
@ -4,6 +4,12 @@
|
|||
{{ $theme := resources.Get "js/theme.js" }}
|
||||
{{ $climatestrike := resources.Get "js/digitalclimatestrike-widget.js" }}
|
||||
{{ $secureJS := slice $main $menu $prism $theme $climatestrike | resources.Concat "bundle.js" | resources.Minify }}
|
||||
<script type="text/javascript">
|
||||
var DIGITAL_CLIMATE_STRIKE_OPTIONS = {
|
||||
disableGoogleAnalytics: true,
|
||||
showCloseButtonOnFullPageWidget: true,
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ $secureJS.RelPermalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
|
||||
|
||||
{{- if .Site.GoogleAnalytics }}
|
||||
|
|
Loading…
Reference in New Issue