mirror of https://github.com/docker/docs.git
hugo: cache more partials
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
8ae71a65d2
commit
886a27ae8d
|
|
@ -12,7 +12,7 @@
|
|||
{{ partial "guides-stepper.html" . }}
|
||||
{{ end }}
|
||||
<div class="block lg:hidden">
|
||||
{{ partial "pagemeta.html" . }}
|
||||
{{ partialCached "pagemeta.html" . . }}
|
||||
<hr>
|
||||
</div>
|
||||
{{ .Content }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<aside class="py-4 space-y-4">
|
||||
{{ partial "github-links.html" . }}
|
||||
<div id="TableOfContents">
|
||||
{{ partial "pagemeta.html" . }}
|
||||
{{ partialCached "pagemeta.html" . . }}
|
||||
</div>
|
||||
</aside>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Depends on site.Params.min_version_thresholds and i18n strings for component IDs
|
|||
{{ end }}
|
||||
{{- if $versionAboveThreshold }}
|
||||
<div class="text-gray-light dark:text-gray-dark flex items-center gap-2">
|
||||
<span class="icon-svg flex items-center">{{ partial "icon.html" "chevron_right" }}</span>
|
||||
<span class="icon-svg flex items-center">{{ partialCached "icon.html" "chevron_right" "chevron_right" }}</span>
|
||||
<span>Introduced in {{ T $component }} version
|
||||
{{- if $link }}
|
||||
{{ page.RenderString (fmt.Printf `[%s](%s)` $v $link) }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue