Pyramid scaffolds using Mako templates