From d5b87cb15e820e3ee8335363b26f4fcbf0e8d783 Mon Sep 17 00:00:00 2001
From: Den McHenry <denmch@users.noreply.github.com>
Date: Tue, 16 Jan 2018 01:26:37 +0000
Subject: [PATCH] Don't duplicate site title in home page TITLE tag (#78)
---
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 577940a..cf7f6eb 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 .Title }} | {{ . }}{{ end }}{{ end }}</title>
+ <title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
--
Gitblit v1.10.0