diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1cd31d2..a8de2b1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,21 +7,21 @@ <link rel="shortcut icon" type="image/png" href="/favicon.png"> <link rel="stylesheet" href="/css/min.css"> <link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}"> -<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title> +<title>{{ .Title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }}</title> </head> <body> <div class="container"> <header role="banner"> <div class="header-logo"> - <a href="/"><img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"></a> + <a href="/"><img width="128" height="128" src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"></a> </div> <h1 class="site-title">{{ .Site.Title }}</h1> </header> <div class="container"> <div class="row"> {{ range $section, $p := .Site.Sections }} - <div class="one-half column"> + <div class="one-third column"> <a class="button" href="/{{ $section }}/">{{ $section }}</a> </div> {{ end }} |
