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

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b02bdf6..b4061f9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,8 +1,8 @@
<head>
<meta charset="utf-8">
<!-- Site details -->
- <title>{{ .Site.Title }}</title>
- <meta name="description" content="{{ .Site.Params.Description }}">
+ <title>{{ .Title }} | {{ .Site.Title }}</title>
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="author" content="{{ .Site.Params.AuthorName }}">
<!-- Favicon details -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
@@ -23,4 +23,4 @@
<style type="text/css">{{ partial "fonts.css" . | safeCSS }}</style>
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
-</head> \ No newline at end of file
+</head>