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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <git@upagge.ru>2021-02-16 23:29:08 +0300
committeruPagge <git@upagge.ru>2021-02-16 23:29:08 +0300
commit1374f9fe8cd8842e981b8deeed619bfdbe067f4d (patch)
treebdead1405f6b53265292eead3fcea278d001d4d3 /layouts/_default/baseof.html
parenta4b91e68179c3c51a54e1a6fa95e281ba8af73de (diff)
dns-prefetch
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 25d84ec..dfa3037 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -13,7 +13,13 @@
{{- partial "head/meta.html" . -}}
{{- partial "head/link.html" . -}}
{{- partial "head/seo.html" . -}}
- {{- block "dnsPrefetch" . }}{{ end -}}
+ {{- block "dnsPrefetch" . }}
+ {{- with $.Site.Params.Seo.dnsPrefetch -}}
+ {{- range $index, $value := . -}}
+ <link rel="dns-prefetch" href="{{ $value }}">
+ {{- end -}}
+ {{- end -}}
+ {{ end -}}
</head>
<body data-header-desktop="{{ .Site.Params.header.desktopMode }}" data-header-mobile="{{ .Site.Params.header.mobileMode }}">
{{- /* Check theme isDark before body rendering */ -}}