Skip to content

Commit 52a64fc

Browse files
committed
Merged origin/main into tempo-r
2 parents 01cd8c6 + 2effdce commit 52a64fc

5 files changed

Lines changed: 516 additions & 187 deletions

File tree

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ jobs:
8686
enable-pull-request-comment: true
8787
enable-commit-comment: false
8888
enable-commit-status: true
89-
overwrites-pull-request-comment: false
89+
overwrites-pull-request-comment: true
9090
timeout-minutes: 1

_ga-consent-defaults.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!-- Cookie Consent by TermsFeed https://www.TermsFeed.com -->
2+
<script type="text/javascript" src="https://www.termsfeed.com/public/cookie-consent/4.2.0/cookie-consent.js" charset="UTF-8"></script>
3+
<script type="text/javascript" charset="UTF-8">
4+
document.addEventListener('DOMContentLoaded', function () {
5+
cookieconsent.run({
6+
"notice_banner_type": "simple",
7+
"consent_type": "express",
8+
"palette": "light",
9+
"language": "en",
10+
"page_load_consent_levels": ["strictly-necessary", "functionality", "tracking"],
11+
"notice_banner_purposes_levels": ["strictly-necessary", "functionality", "tracking"],
12+
"notice_banner_reject_button_hide": false,
13+
"preferences_center_close_button_hide": false,
14+
"page_refresh_confirmation_buttons": false,
15+
"website_privacy_policy_url": "https://nasa-openscapes.github.io/earthdata-cloud-cookbook/privacy.html"
16+
});
17+
});
18+
</script>
19+
20+
<!-- Google Analytics -->
21+
<script>
22+
window.dataLayer = window.dataLayer || [];
23+
function gtag(){
24+
dataLayer.push(arguments);
25+
}
26+
gtag('consent', 'default', {
27+
'ad_storage': 'denied',
28+
'ad_user_data': 'denied',
29+
'ad_personalization': 'denied',
30+
'analytics_storage': 'granted'
31+
});
32+
</script>
33+
34+
<script type="text/plain" data-cookie-consent="tracking" async src="https://www.googletagmanager.com/gtag/js?id=G-T1FYH22RPC"></script>
35+
36+
<script type="text/plain" data-cookie-consent="tracking">
37+
window.dataLayer = window.dataLayer || [];
38+
function gtag(){dataLayer.push(arguments);}
39+
40+
gtag('js', new Date());
41+
gtag('config', 'G-T1FYH22RPC');
42+
</script>
43+
<!-- end of Google Analytics-->

_quarto.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ website:
1111
site-url: https://nasa-openscapes.github.io/earthdata-cloud-cookbook
1212
repo-url: https://github.com/nasa-openscapes/earthdata-cloud-cookbook
1313
repo-actions: [edit, source, issue]
14-
15-
page-footer:
14+
15+
page-footer:
1616
left: "NASA Earthdata Cloud Cookbook, &copy; NASA Openscapes Team (2023)."
17+
center: '<a href="#" id="open_preferences_center">Cookie Preferences</a>'
18+
right: "[Privacy Policy](/privacy.qmd)"
1719

1820
sidebar:
1921
title: "NASA Earthdata Cloud Cookbook"
@@ -191,6 +193,7 @@ website:
191193

192194
format:
193195
html:
196+
include-in-header: _ga-consent-defaults.html
194197
theme:
195198
light: cosmo
196199
dark: [cosmo, theme-dark.scss]

0 commit comments

Comments
 (0)