From a9afd9f8e0f00de00d27fc7569c0d0b8f22f4302 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Perrin?= Date: Wed, 28 Sep 2016 22:03:34 +0100 Subject: [PATCH] Add a perma-link --- quotes/static/quotes/style.css | 9 +++++++++ quotes/templates/quotes/display.html | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/quotes/static/quotes/style.css b/quotes/static/quotes/style.css index 007cfe1..db54671 100644 --- a/quotes/static/quotes/style.css +++ b/quotes/static/quotes/style.css @@ -2,6 +2,10 @@ a { color: black; } +a:hover { + text-decoration: none; +} + .quote { background-color: #ffbd33; border: 3px solid #ff5733; @@ -16,3 +20,8 @@ a { .quote .author .name { font-style: italic; } + +.permalink { + font-size: 0.8em; + text-align: right; +} diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 108dc92..7873c81 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -11,10 +11,14 @@ {% if quote.tags.all %}

- Tags: + Tags: {% for tag in quote.tags.all %} {{ tag.tag }} {% endfor %}

{% endif %} + + -- 2.43.0