fix index order

This commit is contained in:
j 2025-02-20 08:34:29 -05:00
commit 41c1b1cdec
2 changed files with 6 additions and 3 deletions

View file

@ -76,7 +76,7 @@ def index(request):
context['items'] = week
extra = models.Week.objects.filter(monday=monday, is_break=False).first()
if extra:
context['week_background'] = extra.background(now)
context['week_background'] = extra.background(now, '-published')
if now:
context['now'] = now
context['previous_week'] = (now - timedelta(days=7)).strftime(TS_FORMAT)