From: Michael Tremer Date: Tue, 17 Jul 2018 22:11:36 +0000 (+0100) Subject: blog: Make headlines clickable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60e77f070570dd8fbd5e8b27beb914c9696e54d9;p=ipfire.org.git blog: Make headlines clickable Signed-off-by: Michael Tremer --- 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 }},