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:
authorWignLim <643089849@qq.com>2022-02-14 08:38:10 +0300
committerWignLim <643089849@qq.com>2022-02-14 08:38:10 +0300
commit853548b9a8686aea3184cbe75bf0f39abd7f8d03 (patch)
tree2558af758b64c74addeba1687eac962df06c3ab1
parent1a906976e7aff6eecede232b0e709b47fefb36b4 (diff)
fix: not cache footer to enable katex/mathjax
-rw-r--r--layouts/404.html2
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/footer/footer.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html
index f372af0..24409fd 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -7,4 +7,4 @@
</main>
</div>
-{{ partialCached "footer/footer" . }}
+{{ partial "footer/footer" . }}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a1afb33..f05fe00 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,6 +8,6 @@
<main>
{{ block "main" . }}{{ end }}
</main>
- {{ partialCached "footer/footer" . }}
+ {{ partial "footer/footer" . }}
</body>
</html> \ No newline at end of file
diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html
index b74a63a..7161f62 100644
--- a/layouts/partials/footer/footer.html
+++ b/layouts/partials/footer/footer.html
@@ -6,7 +6,7 @@
{{ end }}
</nav>
- {{ partialCached "footer/custom" . }}
+ {{ partial "footer/custom" . }}
</section>
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}
<script type="text/javascript">