From 1b9b116edce8fe24f0cbc205c4febb8838ca1839 Mon Sep 17 00:00:00 2001 From: SecretlyTaco Date: Fri, 21 Apr 2017 02:21:06 +0100 Subject: [PATCH] Added permalink to random quote --- smash/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/smash/views.py b/smash/views.py index 791b19b..ef72836 100644 --- a/smash/views.py +++ b/smash/views.py @@ -44,6 +44,7 @@ def index(): if len(quotes)>0: quote = random.choice(quotes) news = str(Markup.escape(quote.content)).replace('\n', '
') + news += str("Permalink") return render_template( "index.html",