body (function)

body(navBar=False, content='', htmlId='', extraAttr='', relativeUrlBase=False, responsive=True, googleAnalyticsCode=False, jsFilePath='main.js')[source]

Generate an HTML body

Key Arguments

  • navBar – the top navigation bar

  • htmlIdid attribute of the body

  • content – body content built from smaller HTML code blocks

  • extraAttr – an extra attributes to be added to the body definition

  • relativeUrlBase – how to get back to the document root

  • responsive – should the webpage be responsive to screen-size?

  • googleAnalyticsCode – google analytics code for the website

  • jsFilePath – the name of the main javascript file

Return

  • body – the body