Skip to content

Commit

Permalink
Don't repeat title in <title> tag on the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Kucharski authored and digitalcraftsman committed Aug 19, 2016
1 parent fff9d5b commit 6124373
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

<title> {{ .Title }} &middot; {{ .Site.Title }} </title>
{{ if .IsHome }}
<title>{{ .Site.Title }}</title>
{{ else }}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
{{ end }}

<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
Expand Down

0 comments on commit 6124373

Please sign in to comment.