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

github.com/geschke/hugo-tikva.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.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..62f4a1f
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,18 @@
+<head>
+ <meta charset="utf-8" />
+ <title>{{ .Page.Title }}{{ if .Site.Params.AppendSiteTitle }} | {{ .Site.Title }}{{ end }}</title>
+
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ {{ range $metaName, $metaValue := .Site.Params.Meta }}
+ <meta name="{{ $metaName }}" content="{{ htmlUnescape $metaValue }}">{{ end }}
+
+ {{ if .Site.Params.Theme.BootstrapTheme }}
+ <link href="{{ .Site.BaseURL }}css/bootswatch/{{ .Site.Params.Theme.BootstrapTheme }}.min.css" rel="stylesheet">
+ {{ else }}
+ <link href="{{ .Site.BaseURL }}css/bootstrap.min.css" rel="stylesheet">
+ {{ end }}
+ <link href="{{ .Site.BaseURL }}css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+ <link href="{{ .Site.BaseURL }}css/custom.css" rel="stylesheet">
+
+</head> \ No newline at end of file