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

github.com/WingLim/hugo-tania.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWingLim <643089849@qq.com>2021-09-25 08:46:57 +0300
committerWingLim <643089849@qq.com>2021-09-25 08:46:57 +0300
commit6952fb1551fbcec32aaaabaaa3755100f189d268 (patch)
tree09420a88133a86ac29ddb0953d29c47b63bed95f
parentad60a6c1212df44f5cb3879381eb4d582b3799f2 (diff)
fix: not cache head partial
-rw-r--r--layouts/404.html2
-rw-r--r--layouts/_default/baseof.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 53d4cbd..a0aad1a 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,4 +1,4 @@
-{{ partialCached "head/head" . }}
+{{ partial "head/head" . }}
{{ partialCached "header" . }}
<div class="container">
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index df4a1e9..04735be 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
- {{ partialCached "head/head" . }}
+ {{ partial "head/head" . }}
{{ partialCached "head/colorScheme" . }}
<body class="dark">