def developers(devs): return html [ head [ title [ 'Developers and Contributors', ' — ', SITE_NAME ] ], flush, # allow the browser to start downloading static resources early body ( class_ = "nav-developers" ) [ site_header(), h1 [ "Our Beloved Developers" ], p ( class_ = "heart-attack" ) [ 'Developers developers developers developers. Developers. Developers. Developers. Developers. Developers! Developers! Developers! Developers! DEVELOPERS! DEVELOPERS! DEVELOPERS! DEVELOPERS!' ], table [ thead [ th [ "Name" ], th [ "Position" ], th [ "E-Mail Address" ] ], tbody [[ tr [ td [ developer.name ], td [ developer.position ], td [ developer.email ], ] for developer in devs ]] ], site_footer() ] ]
def welcome(): return html [ head [ title [ 'Welcome!', ' — ', SITE_NAME ] ], flush, # allow the browser to start downloading static resources early body ( class_ = "nav-welcome" ) [ site_header(), p [ 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.' ], site_footer() ] ]