From a02a6b0b9292e3024c8fe01f7241fe385dbbd3ef Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 9 Mar 2018 23:03:56 +0100 Subject: [PATCH] Promote the second edition from the front page --- blog/static/css/main.css | 8 ++++++++ blog/templates/index.html | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/blog/static/css/main.css b/blog/static/css/main.css index 48473e47..1f4fb189 100644 --- a/blog/static/css/main.css +++ b/blog/static/css/main.css @@ -245,6 +245,14 @@ a.gutenberg-anchor:hover { text-decoration: none; } +div.note { + padding: .7rem 1rem; + margin: 1rem .2rem; + border: 2px solid #99ff99; + border-radius: 5px; + background-color: #99ff0022; +} + div.warning { padding: .7rem 1rem; margin: 1rem .2rem; diff --git a/blog/templates/index.html b/blog/templates/index.html index b041e8a8..4efaab7e 100644 --- a/blog/templates/index.html +++ b/blog/templates/index.html @@ -20,6 +20,10 @@

+
+ Want to try something new? We are working on a second edition of the blog, which works without any non-Rust dependencies. You can read the new posts here. +
+
Bare Bones
{{ macros::post_link(page=posts.0) }}