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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head/head.html')
-rw-r--r--layouts/partials/head/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
index 5ab35dd..9df2ea1 100644
--- a/layouts/partials/head/head.html
+++ b/layouts/partials/head/head.html
@@ -2,10 +2,10 @@
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
- {{- $description := partial "data/description" . -}}
+ {{- $description := partialCached "data/description" . .RelPermalink -}}
<meta name='description' content='{{ $description }}'>
- {{- $title := partial "data/title" . -}}
+ {{- $title := partialCached "data/title" . .RelPermalink -}}
<title>{{ $title }}</title>
<link rel='canonical' href='{{ .Permalink }}'>