Skip to content

Commit

Permalink
perf: cache hb-header-nav-begin hook
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 16, 2024
1 parent 7414b8a commit 46afdf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ cacheable = true
cache_param_key = "redirect"

[params.hugopress.modules.hb-docs.hooks.hb-header-nav-begin]
cacheable = "true"
cache_key = "page.Type"

[params.hb.docs]
date_format = ":date_long"
Expand Down

0 comments on commit 46afdf6

Please sign in to comment.