That's been bugging me
This commit is contained in:
parent
2cd48b67ab
commit
ac76e69f4f
|
@ -72,7 +72,7 @@ def articles():
|
|||
out=[]
|
||||
for k,v in arts.items():
|
||||
out.append(f'<h4>{k}</h4>'+ '<br/>'.join([f'<a href="{l[0]}">{l[1] or l[0]}</a>' for l in v]))
|
||||
return {'title':'Articles','content':'<p>'+('</p><p>'.join(out))+'</p>','date':'2021/05/06'}
|
||||
return {'title':'Articles','content':'<p>'+('</p>\n<p>'.join(out))+'</p>','date':'2021/05/06'}
|
||||
|
||||
def redirect(req,src):
|
||||
return HttpResponse(status=302,headers={'Location':src.output})
|
||||
|
|
Loading…
Reference in New Issue
Block a user