From 7b40b84cc86fe8fcabe617379a28176d20287d9a Mon Sep 17 00:00:00 2001 From: Timur Osmanov <54434686+TOsmanov@users.noreply.github.com> Date: Fri, 22 Oct 2021 16:08:59 +0300 Subject: [PATCH] Update documentation site (#3789) --- CHANGELOG.md | 3 ++- site/assets/scss/_custom.scss | 6 ------ site/content/en/_index.html | 24 ------------------------ site/layouts/404.html | 7 ++++++- site/layouts/home.html | 6 ++++++ site/layouts/partials/footer.html | 8 ++++---- site/layouts/partials/navbar.html | 2 +- 7 files changed, 19 insertions(+), 37 deletions(-) delete mode 100644 site/content/en/_index.html create mode 100644 site/layouts/home.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 969f1844f6b6..19a1c70ae311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security -- TDB +- Fix security issues on the documentation website unsafe use of target blank + and potential clickjacking on legacy browsers () ## \[1.6.0] - 2021-09-17 diff --git a/site/assets/scss/_custom.scss b/site/assets/scss/_custom.scss index 95b556973da1..4eb169468428 100644 --- a/site/assets/scss/_custom.scss +++ b/site/assets/scss/_custom.scss @@ -35,12 +35,6 @@ padding-top: 2rem !important; } -/* Icon color for temporary page */ - -#temporary-page i { - color: lightgrey; -} - /* About page */ .logo-2 { diff --git a/site/content/en/_index.html b/site/content/en/_index.html deleted file mode 100644 index 1fe09b59dcbe..000000000000 --- a/site/content/en/_index.html +++ /dev/null @@ -1,24 +0,0 @@ -+++ -title = "Home" -linkTitle = "Home" -+++ - - - -{{< blocks/section height="full" color="docs" >}} - -
-
- -
-
-

This page is in development.

-
-
-

- Visit our GitHub repository. -

-
-
- -{{< /blocks/section >}} diff --git a/site/layouts/404.html b/site/layouts/404.html index 2a8e27bfa08c..0755dd2dfd32 100644 --- a/site/layouts/404.html +++ b/site/layouts/404.html @@ -1 +1,6 @@ - + + + + + + diff --git a/site/layouts/home.html b/site/layouts/home.html new file mode 100644 index 000000000000..7a6f2a7f7f05 --- /dev/null +++ b/site/layouts/home.html @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 535247024e91..fe872c19f0cf 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -17,11 +17,11 @@ {{ end }}
- {{ with .Site.Params.intel_privacy_notice }}{{ T "footer_intel_privacy_notice" }}{{ end }} + {{ with .Site.Params.intel_privacy_notice }}{{ T "footer_intel_privacy_notice" }}{{ end }} | - {{ with .Site.Params.intel_terms_of_use }}{{ T "footer_intel_terms_of_use" }}{{ end }} + {{ with .Site.Params.intel_terms_of_use }}{{ T "footer_intel_terms_of_use" }}{{ end }} | - {{ with .Site.Params.cvat_terms_of_use }}{{ T "footer_cvat_terms_of_use" }}{{ end }} + {{ with .Site.Params.cvat_terms_of_use }}{{ T "footer_cvat_terms_of_use" }}{{ end }}