From aaf8f1921f230aa52e41e062d4a1148fff5e4495 Mon Sep 17 00:00:00 2001 From: Timur Osmanov <54434686+TOsmanov@users.noreply.github.com> Date: Fri, 21 May 2021 19:20:01 +0300 Subject: [PATCH] Fix buttons "edit this page", "create child page" and fix cover-block background on website (#3220) * fix README.md add cvat.jpg * fix button "edit this page" and "create this page" * fixed documentation workflow (#3217) * fix block cover on about page * fix linter error Co-authored-by: Andrey Zhavoronkov --- site/assets/scss/_custom.scss | 6 ++++++ site/config.toml | 2 +- .../background-about-page.jpg} | Bin 3 files changed, 7 insertions(+), 1 deletion(-) rename site/content/en/{about/featured-background.jpg => images/background-about-page.jpg} (100%) diff --git a/site/assets/scss/_custom.scss b/site/assets/scss/_custom.scss index 2884f584..f2d2d165 100644 --- a/site/assets/scss/_custom.scss +++ b/site/assets/scss/_custom.scss @@ -108,3 +108,9 @@ border-radius: 8px; visibility: hidden; } + +/* cover block on about page */ + +#td-cover-block-0 { + background-image: url("../images/background-about-page.jpg"); +} diff --git a/site/config.toml b/site/config.toml index 01ceb056..d51bb852 100644 --- a/site/config.toml +++ b/site/config.toml @@ -113,7 +113,7 @@ github_repo = "https://github.com/openvinotoolkit/cvat" github_project_repo = "https://github.com/openvinotoolkit/cvat" # Specify a value here if your content directory is not in your repo's root directory -# github_subdir = "" +github_subdir = "site" # Uncomment this if you have a newer GitHub repo with "main" as the default branch, # or specify a new value if you want to reference another branch in your GitHub links diff --git a/site/content/en/about/featured-background.jpg b/site/content/en/images/background-about-page.jpg similarity index 100% rename from site/content/en/about/featured-background.jpg rename to site/content/en/images/background-about-page.jpg