[hg] galaxy 3524: Add 'metas()' %def to base.mako, to allow subc...
details: http://www.bx.psu.edu/hg/galaxy/rev/5f967426f33f changeset: 3524:5f967426f33f user: Dan Blankenberg <dan@bx.psu.edu> date: Fri Mar 12 12:03:25 2010 -0500 description: Add 'metas()' %def to base.mako, to allow subclassing templates to declare additional <meta/> tags. diffstat: templates/base.mako | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (17 lines): diff -r c3eccab29814 -r 5f967426f33f templates/base.mako --- a/templates/base.mako Fri Mar 12 09:37:22 2010 -0500 +++ b/templates/base.mako Fri Mar 12 12:03:25 2010 -0500 @@ -5,6 +5,7 @@ <head> <title>${self.title()}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +${self.metas()} ${self.stylesheets()} ${self.javascripts()} </head> @@ -30,3 +31,5 @@ ${h.js( "jquery", "galaxy.base" )} </%def> +## Additional metas can be defined by templates inheriting from this one. +<%def name="metas()"></%def>
participants (1)
-
Greg Von Kuster