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

github.com/themefisher/restaurant-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e69de29..0185ee6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -0,0 +1,21 @@
+<head>
+ <meta charset="utf-8">
+ <title>{{ .Title }}</title>
+
+ {{ "<!-- mobile responsive meta -->" | safeHTML }}
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
+ {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
+ {{ hugo.Generator }}
+
+ {{ "<!-- plugins -->" | safeHTML }}
+ {{ range .Site.Params.plugins.css }}
+ <link rel="stylesheet" href="{{ .URL | absURL }} ">
+ {{ end }}
+
+ {{ "<!--Favicon-->" | safeHTML }}
+ <link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
+ <link rel="icon" href="{{ "images/favicon.png" | absURL }} " type="image/x-icon">
+
+</head> \ No newline at end of file