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}