From: Frédéric Perrin Date: Wed, 28 Sep 2016 21:03:34 +0000 (+0100) Subject: Add a perma-link X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=commitdiff_plain;h=a9afd9f8e0f00de00d27fc7569c0d0b8f22f4302 Add a perma-link --- 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 %} + +