diff options
author | Keichi Takahashi <keichi.t@me.com> | 2015-02-03 16:42:27 +0300 |
---|---|---|
committer | Keichi Takahashi <keichi.t@me.com> | 2015-02-03 16:42:27 +0300 |
commit | da67c4e25adeacc42c2bac321fcd3abfcbdc2566 (patch) | |
tree | a1c98a24f0800b365b73c36bbc5ee945d3d06c8d | |
parent | be308b5371d94881852f00be865aa982ba72b0a2 (diff) |
Do not show page title at the homepage
-rw-r--r-- | layouts/partials/header.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5ebe186..8c04f76 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -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 }} · {{ .Site.Title }} + {{ end }} + </title> <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/bootstrap.min.css" /> <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/main.css" /> |