diff options
author | Cristian Klein <cristian.klein@elastisys.com> | 2020-09-02 15:46:36 +0300 |
---|---|---|
committer | Cristian Klein <cristian.klein@elastisys.com> | 2020-09-02 15:46:36 +0300 |
commit | 0fc0c2982e5869f7375db4beda3ee4bd53db9bdf (patch) | |
tree | 1a397fc262cf54f95e48679a65b992988dbdd334 /layouts | |
parent | 4a05e85eeed30d3269d4353478b62d24a95f6b05 (diff) |
Beautify title
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c656abd..8c2181e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>{{ if .IsPage }} {{ .Title }} {{ else }} {{ .Site.Title }} {{ end }}</title> + <title>{{ if .IsPage }} {{ .Title }} | {{ end }}{{ .Site.Title }}</title> {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="all,follow"> |