From ac76e69f4fadcc9b594ac3a2ffb4025ab4a99477 Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Sun, 10 Apr 2022 23:22:52 +1000 Subject: [PATCH] That's been bugging me --- main/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/views.py b/main/views.py index 1b91a8e..54cbf95 100644 --- a/main/views.py +++ b/main/views.py @@ -72,7 +72,7 @@ def articles(): out=[] for k,v in arts.items(): out.append(f'

{k}

'+ '
'.join([f'{l[1] or l[0]}' for l in v])) - return {'title':'Articles','content':'

'+('

'.join(out))+'

','date':'2021/05/06'} + return {'title':'Articles','content':'

'+('

\n

'.join(out))+'

','date':'2021/05/06'} def redirect(req,src): return HttpResponse(status=302,headers={'Location':src.output}) @@ -97,4 +97,4 @@ END:VCARD""") @rerender def autopage(page): - return {'title':page.title,'content':page.contents,'date':page.last_edited} \ No newline at end of file + return {'title':page.title,'content':page.contents,'date':page.last_edited}