theme: cache menu #380

because of `hidden` param menus can differ for each page
This commit is contained in:
Sören Weber 2022-11-12 15:25:58 +01:00
parent 82a8b2f8c6
commit ac406496ce
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -2,7 +2,7 @@
</main><!-- #body-inner -->
{{- partial "custom-comments.html" . }}
</div><!-- #body -->
{{- partial "menu.html" . }}
{{- partialCached "menu.html" . . }}
<script src="{{"js/clipboard.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}" defer></script>
<script src="{{"js/perfect-scrollbar.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}" defer></script>
<script src="{{"js/featherlight.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}" defer></script>