From 0f80e3ad97d9337dd8936f0aa9b39997e20455e3 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 22 Feb 2018 20:51:46 +0000 Subject: [PATCH] Make dates hash links --- layouts/posts/list.html | 6 ++++-- static/src/scss/style.scss | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 6d32848..3016555 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -8,8 +8,10 @@ {{ if (index .Pages 0).Date.IsZero }}
{{ else }} -

- +

+ + +

{{ end }} {{ range (sort .Pages "Date" "desc") }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 0764346..95781e3 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -257,3 +257,9 @@ p code, li code { .mermaid { font-size: $font-size-base; } + +a.no-color-change { + &, &:hover { + color: inherit; + } +}