-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 0xlucca/update-tutorial-section
- Loading branch information
Showing
6 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Cookie Policy | ||
description: This cookie policy explains how we use cookies to enhance your browsing experience, improve functionality, and ensure secure interactions. | ||
hide: | ||
- toc | ||
- feedback | ||
- navigation | ||
--- | ||
|
||
--8<-- 'https://raw.githubusercontent.com/papermoonio/polkadot-mkdocs/refs/heads/main/policies/cookie-policy.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
document.addEventListener('DOMContentLoaded', function () { | ||
const dateLabels = document.querySelectorAll( | ||
'.git-revision-date-localized-plugin-date' | ||
); | ||
|
||
// Only make modifications on pages with dates | ||
if (dateLabels.length > 0) { | ||
const lastUpdate = dateLabels[0].innerHTML; | ||
const created = dateLabels[1].innerHTML; | ||
|
||
const lastUpdateDate = new Date(lastUpdate); | ||
const createdDate = new Date(created); | ||
|
||
// If the created date is after the last updated date, | ||
// default to using the last updated date | ||
if (lastUpdateDate < createdDate) { | ||
dateLabels[1].innerHTML = lastUpdate; | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Privacy Policy | ||
description: This privacy policy explains in particular how, for which purposes, and to what extent your Personal Data is collected and processed by us through the Website. | ||
hide: | ||
- toc | ||
- feedback | ||
- navigation | ||
--- | ||
|
||
--8<-- 'https://raw.githubusercontent.com/papermoonio/polkadot-mkdocs/refs/heads/main/policies/privacy-policy.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Terms of Use | ||
description: Discover the terms and conditions governing your use of our website, outlining your rights, responsibilities, and important legal details. | ||
hide: | ||
- toc | ||
- feedback | ||
- navigation | ||
--- | ||
|
||
--8<-- 'https://raw.githubusercontent.com/papermoonio/polkadot-mkdocs/refs/heads/main/policies/terms-of-use.md' |