Comment #4 on issue 55 by adamsc: Cannot override extra_head in
site_base.html
http://code.google.com/p/django-hotclub/issues/detail?id=55
We might want to review this strategy - it works but template authors are
stuck having to remember to add {{
block.super }} to the end up every extra_head block. The attached patch
covers all of the places in the default
template where the block.super is missing.
As an alternative, perhaps it would make more sense to define a couple
lists which can be appended, searched,
etc. for stylesheets and scripts using normal Python rather than the
limited template language? That would avoid
the need for most extra_head in site_base.html, leaving it for things like
the per-page Atom feeds which seem to
be considerably more in the spirit of what extra_head should be used for.
Attachments:
extra_head-super.patch 9.4 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---