Still bugging me
This commit is contained in:
parent
ec1858fd25
commit
67b7a5e20d
|
@ -71,7 +71,7 @@ def articles():
|
||||||
arts=parsecat('articles',2)
|
arts=parsecat('articles',2)
|
||||||
out=[]
|
out=[]
|
||||||
for k,v in arts.items():
|
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]))
|
out.append(f'<h4>{k}</h4>'+ '<br/>\n'.join([f'<a href="{l[0]}">{l[1] or l[0]}</a>' for l in v]))
|
||||||
return {'title':'Articles','content':'<p>'+('</p>\n<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):
|
def redirect(req,src):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user