Add caching to some partials that don't change much

This commit is contained in:
2021-10-11 09:52:24 -05:00
parent 9ff5314bc0
commit 03834fb1ba
7 changed files with 26 additions and 25 deletions

View File

@ -2,7 +2,7 @@
{{ .Text | safeHTML }}
<a href="#{{ .Anchor | safeURL }}">
<span class="section-header-link">
{{ partial "icon.html" "link" }}
{{ partialCached "icon.html" "link" "link" }}
</span>
</a>
</h{{ .Level }}>