Should update page date too even if it's just source code tweaks
This commit is contained in:
parent
67b7a5e20d
commit
c293ba7bf7
|
@ -71,8 +71,8 @@ def articles():
|
|||
arts=parsecat('articles',2)
|
||||
out=[]
|
||||
for k,v in arts.items():
|
||||
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'}
|
||||
out.append(f'<h4>{k}</h4>\n'+ '<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':'2022/04/11'}
|
||||
|
||||
def redirect(req,src):
|
||||
return HttpResponse(status=302,headers={'Location':src.output})
|
||||
|
|
Loading…
Reference in New Issue
Block a user