Do not show page title at the homepage

This commit is contained in:
Keichi Takahashi 2015-02-03 22:42:27 +09:00
parent be308b5371
commit da67c4e25a
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,13 @@
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<title>{{ .Title }} | {{ .Site.Title }}</title>
<title>
{{ if eq .Url "/" }}
{{ .Site.Title }}
{{ else }}
{{ .Title }} &middot; {{ .Site.Title }}
{{ end }}
</title>
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/main.css" />