diff --git a/config.toml b/config.toml index 3515860955..cca9660ad7 100644 --- a/config.toml +++ b/config.toml @@ -129,24 +129,24 @@ enable = true gcs_engine_id = "007239566369470735695:624rglujm-w" # Text label for the version menu in the top bar of the website. - version_menu = "Kubeflow Version" + version_menu = "v1.9" # The major.minor version tag for the version of the docs represented in this # branch of the repository. Used in the "version-banner" partial to display a # version number for this doc set. - version = "master" + version = "v1.9" # Flag used in the "version-banner" partial to decide whether to display a # banner on every page indicating that this is an archived version of the docs. - archived_version = false + archived_version = true # A link to latest version of the docs. Used in the "version-banner" partial to # point people to the main doc site. - url_latest_version = "https://kubeflow.org/docs/" + url_latest_version = "https://www.kubeflow.org/docs/" # A variable used in various docs to determine URLs for config files etc. # To find occurrences, search the repo for 'params "githubbranch"'. - github_branch = "master" + github_branch = "v1.9-branch" # Disable MathJax by default # NOTE: enable it per-page with `mathjax: true` in front matter @@ -154,9 +154,13 @@ enable = true # These entries appear in the drop-down menu at the top of the website. [[params.versions]] - version = "master" + version = "Latest" githubbranch = "master" - url = "https://master.kubeflow.org" + url = "https://www.kubeflow.org" + [[params.versions]] + version = "v1.9" + githubbranch = "v1.9-branch" + url = "https://v1-9-branch.kubeflow.org" [[params.versions]] version = "v1.8" githubbranch = "v1.8-branch" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9ad9e6bef2..01c61d9b7e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,12 +5,8 @@ {{ end -}} -{{ $outputFormat := partial "outputformat.html" . -}} -{{ if and hugo.IsProduction (ne $outputFormat "print") -}} - -{{ else -}} - -{{ end -}} + + {{ partialCached "favicons.html" . }}