update Permalink to RelPermalink (#16033)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
97cf15bdb2
commit
bbaf0163b5
@@ -6,6 +6,6 @@
|
||||
{{ template "shortcodes-blocks_getimage" (dict "name" $bg "ctx" . "target" "bg") }}
|
||||
{{- end -}}
|
||||
{{- $image := $.Scratch.Get "bg" -}}
|
||||
<section id="{{ $id }}"{{ with $class }} class="{{ . }}"{{ end }} style="{{ with $image }}background-image: url({{ .Permalink }}); {{ end }}{{ with $style }}{{ . | safeCSS }}{{ end }}">
|
||||
<section id="{{ $id }}"{{ with $class }} class="{{ . }}"{{ end }} style="{{ with $image }}background-image: url({{ .RelPermalink }}); {{ end }}{{ with $style }}{{ . | safeCSS }}{{ end }}">
|
||||
{{ $.Inner }}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user