The gv-content tag is used in master templates to define the main content area where individual pages are rendered in a Governor theme. Only one content tag can be used per layout.

Tag

<div gv-content></div>
    

Basic

Example: master.html

<!DOCTYPE html>
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
    <!--<![endif]-->
    <head>
        ...
    </head>
    <body>
        <div gv-content>
        <!--Governor page layouts located in the Pages folder will be rendered inside the gv-content div--></div>
    </body>
</html>
    

Pro Tips

When placing gv-content inside master.html remember to include any elements you wish to appear on every page such as javascript files, or the HEAD and HTML tags on the outside of the gv-content div.

Did this answer your question?