From 60e77f070570dd8fbd5e8b27beb914c9696e54d9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Jul 2018 23:11:36 +0100 Subject: [PATCH] blog: Make headlines clickable Signed-off-by: Michael Tremer --- src/scss/style.scss | 8 ++++++-- src/templates/blog/modules/post.html | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/scss/style.scss b/src/scss/style.scss index a303ec9f..c5a91750 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -220,10 +220,14 @@ footer { } .blog-post { - // Custom CSS for blog posts goes here + h5:first-of-type { + a { + color: $body-color; + } + } &.lightning-wire-labs { - h5:first-of-type, a { + h5:first-of-type a, a { color: $lwl; } } diff --git a/src/templates/blog/modules/post.html b/src/templates/blog/modules/post.html index 42670b77..92a671db 100644 --- a/src/templates/blog/modules/post.html +++ b/src/templates/blog/modules/post.html @@ -1,5 +1,9 @@
-
{{ post.title }}
+
+ + {{ post.title }} + +

{{ _("by") }} {{ post.author.name }}, -- 2.47.3