Fragments

A fragment is a part shared by many pages, such as the header, the footer or a promotion. It is edited once, in the fragment editor, and a change shows on every page that has it.

Templates show fragments by name: every page made from a template that has a header shows the fragment called header. A page can also show a fragment of its own, added in the page editor.

The Fragments section: a folder per language, English and Português, New folder and New fragment

Number

Part

What it does

1

Fragments

The section.

2

New folder

A folder for fragments, inside the folder you are in.

3

New fragment

Asks for its name and opens it in the fragment editor.

4

A folder

On a site with languages, one folder per language, each with its own copy of the fragments.

A fragment’s name is how the site and its templates find it. On a site with languages, make it in the folder of its language: a page in Portuguese shows the header of the Portuguese folder.

A fragment selected

The footer fragment selected in the English folder: Edit and Delete, its name, path and language, and the same fragment in Português

Number

Part

What it does

1

Edit

Opens the fragment in the fragment editor, where it is edited like a page.

2

Delete

SeedPage asks first. The fragment goes to the trash with its settings: Google Drive’s trash for a site on Drive, the site’s trash folder (.trash) for the others. Pages and templates that show it show nothing there until it comes back.

3

Details

Its name, its path (its folder and name) and its language. On a site on Google Drive, Open in Google Docs too.

4

Languages

The same fragment in the site’s other languages: Show goes to it.