-
Notifications
You must be signed in to change notification settings - Fork 66
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
Meta tag improvements #3692
Comments
We have a template tag for building urls with the sites framework:
Is this not working as expected? |
If memory serves I tried to use this but we didn't have a |
Cool - its worth double checking if using |
As a developer I'd like a few improvements relate to writing meta tags:
Django provides
request.build_absolute_uri()
for getting an absolute URI for any location. This is useful in templates when creating precise meta tags. So I'd like a template tag for this method, because so far as I know, we don't have another way to build these URLs in some cases. Example usage:Use Django's built-in
truncatewords
rather than our customtruncatesmart
intemplates/common/elements/social_meta.html
The text was updated successfully, but these errors were encountered: