From 3294734954a9fc8e9116b0a54cde606bbbf5afcd Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Sun, 21 Jun 2020 00:58:05 +0800 Subject: [PATCH] change absURL to relURL --- config/upstream-zh/config.toml | 1 + layouts/blogs/single.html | 4 ++-- layouts/case/list.html | 8 ++++---- layouts/conferences/list.html | 6 +++--- layouts/conferences/single.html | 4 ++-- layouts/contribution/list.html | 18 +++++++++--------- layouts/docs/list.html | 2 +- layouts/docs/single.html | 2 +- layouts/index.html | 2 +- layouts/partials/css.html | 2 +- layouts/partials/footer.html | 4 ++-- layouts/partials/header.html | 8 ++++---- layouts/partials/openSource.html | 2 +- layouts/partner/list.html | 16 ++++++++-------- layouts/partner/request.html | 14 +++++++------- layouts/projects/list.html | 2 +- layouts/videos/list.html | 2 +- 17 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 config/upstream-zh/config.toml diff --git a/config/upstream-zh/config.toml b/config/upstream-zh/config.toml new file mode 100644 index 000000000..d1438f54b --- /dev/null +++ b/config/upstream-zh/config.toml @@ -0,0 +1 @@ +baseURL = "https://kubesphere.com.cn" diff --git a/layouts/blogs/single.html b/layouts/blogs/single.html index a07f4d198..be762fce6 100644 --- a/layouts/blogs/single.html +++ b/layouts/blogs/single.html @@ -13,7 +13,7 @@
@@ -33,7 +33,7 @@
{{- partial "footer.html" . -}} - + \ No newline at end of file diff --git a/layouts/case/list.html b/layouts/case/list.html index 828a3a445..af84a44b8 100644 --- a/layouts/case/list.html +++ b/layouts/case/list.html @@ -15,7 +15,7 @@ - + {{ end }} @@ -42,7 +42,7 @@ {{ $name := .name }} {{ range .children }}
  • - +
  • {{ end }} {{ end }} @@ -51,7 +51,7 @@

    {{ .content }} {{ .linkContent }}

    {{ end }} - + {{ end }} + \ No newline at end of file diff --git a/layouts/contribution/list.html b/layouts/contribution/list.html index 43d514555..924828fd9 100644 --- a/layouts/contribution/list.html +++ b/layouts/contribution/list.html @@ -16,7 +16,7 @@ {{ range .topType }}
  • - +

    {{ .name }}

    @@ -27,7 +27,7 @@
  • {{ end }} - + {{ end }} @@ -37,19 +37,19 @@

    {{ .topic }}

    {{ .name }}
    - +
    {{ end }} diff --git a/layouts/partials/css.html b/layouts/partials/css.html index be14e87c7..9fead0240 100644 --- a/layouts/partials/css.html +++ b/layouts/partials/css.html @@ -7,7 +7,7 @@ {{ if .Params.minCss }} {{ range (split .Params.minCss ",")}} - + {{ end }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5de0f98c6..ec26cd06e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,7 +4,7 @@