Skip to content

Commit

Permalink
perf: cache first section for pages (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 15, 2024
1 parent 7c000df commit c943604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/post/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{{- if and $readingTime (default true $pageMeta.reading_time) }}
{{ partialCached "hb/modules/blog/post/meta/reading-time" $page $page }}
{{- end }}
{{ partialCached "hb/modules/blog/post/meta/first-section" $page $page }}
{{ partialCached "hb/modules/blog/post/meta/first-section" $page $page.FirstSection }}
</div>
{{- end }}
{{- if and $thumbnail (eq $thumbnailPos "top") }}
Expand Down

0 comments on commit c943604

Please sign in to comment.