icon search gray
icon top darkgray

Site settings

#Site/Builder

To change global site settings, click the "site settings" button from the site builder toolbar.

screenshot-sitebuilder-toolbar-site-settings

The Global Site Settings dialogue will pop up, from which we can change the global content template, global directory template, and page code injection.

Content template

The global content template will be used by all content pages by default unless you have given a specific page template to a content page.

screen-sitebuilder-global-content-template

We can choose between a blog page layout and a documentation page layout.

Directory template

The global directory template will be used by all directory pages by default unless you have given a specific page template to a directory page.

screen-sitebuilder-global-directory-template

At the moment, we can choose from the following directory templates:

  • One-column cards view
  • One-column list view
  • Two-column cards view
  • Two-column list view
  • Table of Contents tree view

Page code injection

Page code injection allows us to insert arbitrary HTML/JavaScript/CSS code into all pages of the website. This is required when you want to incorporate third-party services or plugins into your website. For example, you may need to add Google Analytics tracking code into your web pages.

screen-sitebuilder-global-code-inject

We are able to inject code in four places of every web page:

  • After <head&gt; tag
  • Before </head&gt; tag
  • After <body&gt; tag
  • Before </body&gt; tag

This should give you the maximum flexibility so that you can do whatever you want.