From 02eb788b7879dd12045870aedef3001cfd56237b Mon Sep 17 00:00:00 2001 From: Cory Jacobsen Date: Tue, 10 May 2022 22:20:26 +0000 Subject: [PATCH] Update copyright to match k8s docs site --- site/config.toml | 3 ++- site/i18n/en.toml | 8 ++++++++ site/layouts/partials/footer.html | 29 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 site/i18n/en.toml create mode 100644 site/layouts/partials/footer.html diff --git a/site/config.toml b/site/config.toml index 3c4c3d343b..65c4c16440 100644 --- a/site/config.toml +++ b/site/config.toml @@ -92,7 +92,8 @@ weight = 1 # Everything below this are Site Params [params] -copyright = "SIG CLI | Documentation Distributed under CC BY 4.0 | " +copyright_k8s = "The Kubernetes Authors" +copyright_linux = "Copyright © 2020 The Linux Foundation ®." # First one is picked as the Twitter card image if not set on page. # images = ["images/project-illustration.png"] diff --git a/site/i18n/en.toml b/site/i18n/en.toml new file mode 100644 index 0000000000..f55488c324 --- /dev/null +++ b/site/i18n/en.toml @@ -0,0 +1,8 @@ +# i18n strings for the English (main) site. +# NOTE: Please keep the entries in alphabetical order when editing + +[main_copyright_notice] +other = """The Linux Foundation ®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page""" + +[main_documentation_license] +other = """The Kubernetes Authors | Documentation Distributed under CC BY 4.0""" diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html new file mode 100644 index 0000000000..4a59ba3a51 --- /dev/null +++ b/site/layouts/partials/footer.html @@ -0,0 +1,29 @@ +{{ $links := .Site.Params.links }} + +{{ define "footer-links-block" }} + +{{ end }}