From c293ba7bf7a106e86143d39039bae60416d57aef Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Mon, 11 Apr 2022 17:46:01 +1000 Subject: [PATCH] Should update page date too even if it's just source code tweaks --- main/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/views.py b/main/views.py index acb6cab..99e9427 100644 --- a/main/views.py +++ b/main/views.py @@ -71,8 +71,8 @@ def articles(): arts=parsecat('articles',2) out=[] for k,v in arts.items(): - out.append(f'

{k}

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

'+('

\n

'.join(out))+'

','date':'2021/05/06'} + out.append(f'

{k}

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

'+('

\n

'.join(out))+'

','date':'2022/04/11'} def redirect(req,src): return HttpResponse(status=302,headers={'Location':src.output})