Skip to content

Commit

Permalink
fix: not cache header
Browse files Browse the repository at this point in the history
  • Loading branch information
WingLim committed Sep 25, 2021
1 parent 6952fb1 commit d9e25c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ partial "head/head" . }}
{{ partialCached "header" . }}
{{ partial "header" . }}

<div class="container">
<main>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ partialCached "head/colorScheme" . }}

<body class="dark">
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
Expand Down

0 comments on commit d9e25c8

Please sign in to comment.