-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fixed blog archive headers. #2380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks great!
My comment is not blocking.
blog/tests.py
Outdated
| { | ||
| "view": "weblog:archive-day", | ||
| "kwargs": {"year": year, "month": month, "day": day}, | ||
| "header": "<h1>July 21 archive</h1>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably out of scope, but I wonder if we need to support the day archive view at all. If we do, should we add the year to the header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I don't think it makes much sense and I agree about the header
I'll add the year to the header and let the @django/django-website wg discuss if we should just get rid the day archive view in their next meeting 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
adamzap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks great!
Fixes #2220