diff options
author | Tanner Smith <tannersmithtn95@gmail.com> | 2020-04-28 19:53:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 19:53:57 +0300 |
commit | 252a11baa74a4d7a661356d56ac6cca8a33ff61e (patch) | |
tree | 2ec9dd6587c64a724d7779201f0f5d87ecd439e6 | |
parent | c289a90c134a344a3a039480ebf251ba910e0ff0 (diff) |
Swap the page title and site title in page <title> elements (#272)
-rwxr-xr-x | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6aaab08..67f1415 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> {{/* NOTE: the Site's title, and if there is a page title, that is set too */}} - <title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title> + <title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> <meta name="viewport" content="width=device-width,minimum-scale=1"> {{ hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} |