I discovered that I could reduce the number of templates in use by
using conditionals. Based on the link or the user input, I have a list
of mako functions that generate HTML Divs of content.

My question is, is it faster to create a separate template using
inheritance for each condition or the method of one master template
with several blocks of content that are rendered conditionally?

Just curious, thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to