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 a25de74 commit 29cb8a1
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 29cb8a1

Please sign in to comment.