diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-11 15:13:07 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-11 15:13:07 +0200 |
| commit | 8f0c868d7b394b7a8028ccbe967f508a45a38c76 (patch) | |
| tree | 7d469cfc2167c63658e831684c29c82f4a982505 /layouts/partials | |
| parent | 9b5b232284141fd02e4c8c6b049d0ec4b3d6083c (diff) | |
| download | blog-8f0c868d7b394b7a8028ccbe967f508a45a38c76.tar.gz blog-8f0c868d7b394b7a8028ccbe967f508a45a38c76.zip | |
use cc0 logo
Diffstat (limited to 'layouts/partials')
| -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 }} |
