diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 98c1d76..a8b4886 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,14 +5,22 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="robots" content="noodp" /> + {{- block "robots" . }}<meta name="robots" content="noodp" />{{ end -}} <title> {{- block "title" . }}{{ .Site.Title }}{{ end -}} </title> {{- partial "head/meta.html" . -}} {{- partial "head/link.html" . -}} + {{- partial "head/seo.html" . -}} + {{- 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 */ -}} @@ -37,12 +45,12 @@ <div id="fixed-buttons"> {{- /* top button */ -}} <a href="#" id="back-to-top" class="fixed-button" title="{{ T `backToTop` }}"> - <i class="fas fa-arrow-up fa-fw"></i> + <i class="svg-icon icon-arrow-up"></i> </a> {{- /* comment button */ -}} <a href="#" id="view-comments" class="fixed-button" title="{{ T `viewComments` }}"> - <i class="fas fa-comment fa-fw"></i> + <i class="svg-icon icon-comments-fixed"></i> </a> </div> |