Next / Previous / Contents / Shipman's homepage

21. staticContent(): Generate a static-content element

See Section 4.15, “staticContent(): Add static content to a simple page master”.

fohelpers.py
# - - -   s t a t i c C o n t e n t

def staticContent ( flowName, *contents, **attrs ):
    '''Generate a static-content element.
    '''
    return E("static-content", dash(flowName=flowName),
             attrs, *contents )