Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/alpha-church.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <daniel.saunders@gmail.com>2019-07-29 06:58:37 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2019-07-29 06:58:37 +0300
commit08d3570d0f35a08999d8d9f7bf840aa30d3ea200 (patch)
treef999d80d4f6e90b2168e60fb911cbc27c9af3509
parent1f61e320de92e6942fc5e85fb790969985cf49e2 (diff)
Cache was causing problems with the opengraph and twitter template.
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b48efa1..e7d8533 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,8 +1,4 @@
-{{ if .IsPage }}
- {{ partialCached "header" . .Section "single" }}
-{{ else }}
- {{ partialCached "header" . .Section "list" }}
-{{ end }}
+{{ partial "header" . .Section "list" }}
{{ partialCached "nav" . .Section }}
{{ block "main" . }}