Saved and Global Sections
A section is one block of a page. Two kinds are kept for reuse.
Saved Sections
Save any section to use again on other pages.
- See the saved sections (action
sites.section.list). - Save a section to reuse (action
sites.section.save): give it a name. It is checked like any section. Custom HTML is never saved this way. - Remove a saved section, or bring it back (action
sites.section.remove): hidden and kept. Pages that already use it are not changed.
Using a saved section puts a copy on the page, so changing the copy never changes the saved one.
Global Sections
The announcement bar, the header, and the footer are edited once and show on every page of the website. The announcement bar is written in Announcements, with your other messages (see Announcements on Your Website). The row here is one line with Open Announcements.
- See the global sections (action
sites.global.list). - Change a global section (action
sites.global.save): turn it on or off, change the announcement or footer text, or the header's brand name and links. A change reaches the live website with the next publish.
Hero Picture
A hero can show its picture below the text (the start) or beside it. Choose a picture from the website's pictures and a position in the hero's settings (action sites.page.save, the hero block's layout: below or beside). Beside puts the text on one side and the picture on the other on wide screens, and stacks them on phones. The picture keeps its description and is drawn with a fixed shape and size, so the page does not jump while it loads. A picture with text over it is not part of this.
Collection List
Add it from Add Section, under Learn. The Collection List block shows a collection a GitHub source keeps (see Collections From GitHub) on any page: each item as a link to its page, with its summary, in the order of the collection. Name the collection in the block's settings, and optionally a detail to Group By, such as area, which puts the items under a heading for each value in the order they first appear. Show each summary and Show each picture turn those on or off. An item is listed only when its page is on the version people see, so a page that is still a draft does not appear until it is published. A block whose collection is empty or does not exist says so on the page.
Calculator
Add it from Add Section, under Sell. Inputs a visitor changes, your saved numbers and live Product prices, and results worked out by formulas, with no custom code. See Calculator Section.
Where to Find It
Websites, then Page Builder, then Add Section. Saved and global sections are listed there. Anyone who may edit websites sees it.