diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2020-08-12 15:18:17 +0300 |
---|---|---|
committer | Mantas Vilčinskas <hi@mnts.lt> | 2020-10-27 21:27:08 +0200 |
commit | 1428e835a78d08799257c2c59e66e5f4e8c4334e (patch) | |
tree | de1f74c8d8d064f69ae253be973d558509673b02 | |
parent | 00f5d17147a4ae7add3c487fb9784e9f1473c3b4 (diff) |
Years look better on homepage. Relative logo URL #126
-rw-r--r-- | layouts/partials/header.html | 4 | ||||
-rw-r--r-- | layouts/partials/index/incidents-yearly.html | 7 | ||||
-rw-r--r-- | layouts/partials/meta.html | 3 |
3 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3f58ad4..e4cb2a1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,7 +7,7 @@ <div class="contain contain--more center"> <a href="{{ .Site.BaseURL }}" class="header__logo"> {{ if .Site.Params.useLogo }} - <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> + <img src="{{ relURL .Site.Params.logo }}" alt="{{ .Site.Title }}"> {{ else }} <h1>{{ .Site.Title }}</h1> {{ end }} @@ -19,7 +19,7 @@ <div class="contain"> <a href="{{ .Site.BaseURL }}" class="header__logo header__logo--small"> {{ if .Site.Params.useLogo }} - <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> + <img src="{{ relURL .Site.Params.logo }}" alt="{{ .Site.Title }}"> {{ else }} <h1>{{ .Site.Title }}</h1> {{ end }} diff --git a/layouts/partials/index/incidents-yearly.html b/layouts/partials/index/incidents-yearly.html index d07be9d..fbe47ca 100644 --- a/layouts/partials/index/incidents-yearly.html +++ b/layouts/partials/index/incidents-yearly.html @@ -2,11 +2,10 @@ {{ range ($incidents.GroupByDate "2006") }} - <div class="padding"></div> - <hr> - <p class="center" id="archive-{{ .Key }}"><a href="#archive-{{ .Key }}" class="no-underline"><strong>{{ .Key }}</strong> + + <p class="center archive__head" id="archive-{{ .Key }}"><a href="#archive-{{ .Key }}" class="no-underline"><strong>{{ .Key }}</strong> <span class="faded">({{ len .Pages }})</span> - </a></p><hr> + </a></p> {{ range .Pages }} {{ .Render "small" }} diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 8ba0fb5..35a99d7 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -295,6 +295,7 @@ .issue h3 { line-height: 1.25; } .category__head { margin-top: 20px; } + .archive__head { padding: 20px; background: #f5f5f5; } /** @@ -374,7 +375,7 @@ .date { color: #c3bfb6; } - .tag { background-color: #1d1f20; } + .tag, .archive__head { background-color: #1d1f20; } .tag:hover { background: #222; } .issue:hover, .category__head:hover { background-color: #212121; } |