Skip to content

Commit

Permalink
perf(breadcrumb): cache partial
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 4, 2024
1 parent eb6c629 commit 590bbd0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{{ partial "hb/modules/breadcrumb/index" .Page }}
{{ if .Page.IsPage }}
{{ partial "hb/modules/breadcrumb/index" .Page }}
{{ else }}
{{ partialCached "hb/modules/breadcrumb/index" .Page .Page.CurrentSection }}
{{ end }}

0 comments on commit 590bbd0

Please sign in to comment.