diff --git a/main/views.py b/main/views.py index 21f8d66..acb6cab 100644 --- a/main/views.py +++ b/main/views.py @@ -71,7 +71,7 @@ def articles(): arts=parsecat('articles',2) out=[] for k,v in arts.items(): - out.append(f'

{k}

'+ '
'.join([f'{l[1] or l[0]}' for l in v])) + 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'} def redirect(req,src):