aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html4
-rw-r--r--layouts/partials/index/incidents-yearly.html7
-rw-r--r--layouts/partials/meta.html3
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; }