From: Michael Tremer Date: Tue, 17 Jul 2018 22:04:10 +0000 (+0100) Subject: blog: Make posts from Lightning Wire Labs indigo X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ebc98d4efdf128577821c60abd97371e3be9cc5;p=ipfire.org.git blog: Make posts from Lightning Wire Labs indigo Signed-off-by: Michael Tremer --- diff --git a/src/backend/blog.py b/src/backend/blog.py index d54565f9..c4083735 100644 --- a/src/backend/blog.py +++ b/src/backend/blog.py @@ -87,3 +87,7 @@ class Post(misc.Object): Returns this post as rendered HTML """ return self.data.html + + @property + def tags(self): + return self.data.tags diff --git a/src/scss/style.scss b/src/scss/style.scss index 13bac62f..a303ec9f 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -221,6 +221,12 @@ footer { .blog-post { // Custom CSS for blog posts goes here + + &.lightning-wire-labs { + h5:first-of-type, a { + color: $lwl; + } + } } // Sidebar navigation diff --git a/src/templates/blog/modules/post.html b/src/templates/blog/modules/post.html index 5f0bcba6..42670b77 100644 --- a/src/templates/blog/modules/post.html +++ b/src/templates/blog/modules/post.html @@ -1,4 +1,4 @@ -
+
{{ post.title }}