Coverage for khufu/typography/pageHeader.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# encoding: utf-8
2from . import *
4def pageHeader(
5 headline="",
6 tagline=""):
7 """
8 *Generate a pageHeader - TBS style*
10 **Key Arguments**
12 - ``headline`` -- the headline text
13 - ``tagline`` -- the tagline text for below the headline
16 **Return**
18 - ``pageHeader`` -- the pageHeader
20 """
21 pageHeader = """
22 <div class="page-header" id=" ">
23 <h1>%(headline)s<br><small>%(tagline)s</small></h1>
24 </div>""" % locals()
26 return pageHeader