-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
HTML Title Is Not Informative #3756
Comments
Seems reasonable, yup. |
The title is currently made using:
And not a single page seems to override this block. Later in the base template, where the breadcrumbs are made, there's this:
A solution that could work would be to merge these with something like:
That'll upgrade the title node's text to say the name of the last bread crumb in any page that has the If this feels like a reasonable approach, I'll code it up and drop it in a PR. Feedback requested, thanks! |
Do we not already have the resource title available? |
Fixes #3756, adding the name to the HTML title, if it exists.
In the HTML response type, the HTML title is always the same, simply: "Django REST Framework".
As I'm working on my API, this is a minor nuisance, and I'd bet it's an easy fix to simply put the
h1
value in there too, so it's:I could probably take a stab at this if this was a welcome improvement.
The text was updated successfully, but these errors were encountered: