From 252a11baa74a4d7a661356d56ac6cca8a33ff61e Mon Sep 17 00:00:00 2001
From: Tanner Smith <tannersmithtn95@gmail.com>
Date: Tue, 28 Apr 2020 16:53:57 +0000
Subject: [PATCH] Swap the page title and site title in page <title> elements (#272)
---
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 */}}
--
Gitblit v1.10.0