From bbaf0163b54664c27cab140776d3f337d599bdd4 Mon Sep 17 00:00:00 2001 From: FlyingOnion <731677080@qq.com> Date: Wed, 23 Oct 2019 03:08:14 +0800 Subject: [PATCH] update Permalink to RelPermalink (#16033) --- layouts/blog/baseof.html | 6 +++--- layouts/docs/docsportal_home.html | 4 ++-- layouts/partials/head.html | 2 +- layouts/shortcodes/blocks/section.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index 358cb7bd3c..6c2867cf04 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -20,15 +20,15 @@
{{ with site.Home.OutputFormats.Get "rss" -}} - RSS Feed + RSS Feed {{ end -}} - Submit a Post + Submit a Post @Kubernetesio View on GitHub #kubernetes-users Stack Overflow Forum - Download Kubernetes + Download Kubernetes
{{ partialCached "blog/archive.html" . }} diff --git a/layouts/docs/docsportal_home.html b/layouts/docs/docsportal_home.html index 4ac3f50597..13db850875 100644 --- a/layouts/docs/docsportal_home.html +++ b/layouts/docs/docsportal_home.html @@ -32,10 +32,10 @@ {{ $p := . }} {{ if (isset .Params.card "anchors") }} {{ range .Params.card.anchors }} -
  • {{ .title }}
  • +
  • {{ .title }}
  • {{ end }} {{ else }} -
  • +
  • {{ if (isset .Params.card "title") }}{{ .Params.card.title }}{{ else }}{{ .LinkTitle }}{{ end }}
  • {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 30e3f28293..0193c7705a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,7 +19,7 @@ - + diff --git a/layouts/shortcodes/blocks/section.html b/layouts/shortcodes/blocks/section.html index 49e6d664be..1ee7a0e211 100644 --- a/layouts/shortcodes/blocks/section.html +++ b/layouts/shortcodes/blocks/section.html @@ -6,6 +6,6 @@ {{ template "shortcodes-blocks_getimage" (dict "name" $bg "ctx" . "target" "bg") }} {{- end -}} {{- $image := $.Scratch.Get "bg" -}} -
    +
    {{ $.Inner }}