The company and description fields may now be filled out by editing the site. The values will be used in a standard
footer for each page.

To use the module configuration values, the controller must retrieve the config element for the module and pass it
to the Thymeleaf rendering method.

// Get the current site.varsite=execute('portal.getSite');// Find the module configuration for this module in current site.varmoduleConfig=site.moduleConfigs['com.enonic.first.module'];// Get the current content. It holds the context of the current execution// session, including information about regions in the page.varcontent=execute('portal.getContent');// Include info about the region of the current content in the parameters// list for the rendering.varmainRegion=content.page.regions["main"];// Extend the model from previous examplevarmodel={name:"Michael",mainRegion:mainRegion,moduleConfig:moduleConfig};

Now we can update my-first-page.html file to render the configuration values that were passed from
the controller.