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:
author⧉ infominer <infominer@protonmail.com>2019-06-11 02:35:49 +0300
committerGitHub <noreply@github.com>2019-06-11 02:35:49 +0300
commitf966f7c9d8f16e72889506674753d117cdc27073 (patch)
tree51ab8c49b0fb4c37145700175c3402738c11cde0 /layouts
parenta41bb3acc3139146f2a608551ce1438e4472062c (diff)
Update head.html
Diffstat (limited to 'layouts')
-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..daaf9b6 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 }}</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>