Writing a page in Google Docs
On a site kept in Google Drive, every page is a Google Doc in content/pages. You write it as any Doc: SeedPage reads it when it builds and turns it into the page. The same page can also be changed in SeedPage's editor, which writes the same Doc.
The name and the title
- The Doc's name is the page's address: a Doc named Opening hours is published at /opening-hours/, inside the address of its folder. Renaming the Doc changes the address.
- A Doc named index is the page of its folder: content/pages/menu/index is /menu/.
- The first Heading 1 is the page's title: in the browser tab, in search results, in menus. Write one, at the top or inside the first component, such as a hero.
Text
Paragraphs between tables are text. Headings (Heading 2 to Heading 6), bulleted lists, bold, italic, underline and links are kept. Colours, fonts, sizes and alignment are not: the theme decides how text looks, the same on every page.
Components are tables
Everything else on a page is a component: a hero, cards, a gallery. In a Doc, a component is a table, and the text of its first cell names it.
