> For the complete documentation index, see [llms.txt](https://docs.morpht.com/convivial-for-govcms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.morpht.com/convivial-for-govcms/content-editing/publications.md).

# Publications

A Publication is a long document — an annual report, a corporate plan, a guideline — published as web pages rather than a PDF. The **Publication** is the cover; each chapter or section is a **Publication page** beneath it, nested as deep as the document needs. Every page has its own address, but readers move through the whole thing in order, as they would a book.

## Publication, Resource or Page?

* **Publication** — a document with chapters that readers work through in order: annual reports, plans, guidelines, discussion papers. Use it when the document would otherwise be a PDF with a table of contents.
* **Resource** — a single item to find and use: a fact sheet, a form, a download. If it fits on one page and has no chapters, it is usually a Resource.
* **Page** — ordinary site content that belongs in the menu.

A short document with no chapters can still be a Publication — see [Single-page publications](#single-page-publications) — when it should be listed and cited with the agency's other publications.

## Creating a publication

*Manage → Content → Add content → Publication*.

* **Title** — the document's full name, e.g. *Annual Report 2025–26*. It becomes the address: `/publications/annual-report-2025-26`.
* **Description** — one or two sentences on what the document is. It shows in the publications listing, search results and when the page is shared.
* **Publication type** — *Annual report*, *Guideline*, *Fact sheet* and so on. It is shown above the title and used to filter the publications listing.
* **Published date** — the document's own date, which can differ from when the page was created.
* **Content** — the introduction, shown on the cover above the contents list.
* **Attachments** — the PDF or Word versions of the document, offered as downloads.

The cover also has the usual header, owner, review and tagging fields, as described in [Editing a page](https://docs.morpht.com/convivial-for-govcms/content-editing/editing-a-page.md).

## Adding pages

Open the publication and go to its **Children** tab, then **Create new Publication page**. The new page is placed under the publication automatically. To add a page under a chapter instead, open the chapter's **Children** tab and add it there.

* **Title** — the chapter or section name. If the document numbers its sections, start the title with the number, e.g. *2.1 Eligibility* or *Appendix A: Workforce statistics*. The number becomes part of the page's address, so renumbering a section changes it.
* **Parent** — where the page sits. It is filled in for you when you add a page from the **Children** tab.
* **Description** — one or two sentences, shown under the title in the contents list and in search results. It is required.
* **Content** and **Components** — the page itself, as on any other page. Start its headings at *Heading 2*: in the full publication they are moved down a level for each level of the page, so they always sit under its title.

Keep a publication to three levels below the cover, as in *2.1.1*. Deeper than that, the full publication runs out of heading levels and some headings end up at the same level.

Page addresses are `/publications/<publication>/<page>`, so they stay the same when you reorder pages or move one to another chapter of the same publication.

## Ordering and moving pages

* **Reorder** — open the publication's or a chapter's **Children** tab, drag the pages into order and save. The contents, the navigation and the previous and next links all follow the new order.
* **Move** — edit the page and change its **Parent**. Its own child pages move with it.
* **Move to another publication** — choose a parent in the other publication. The page and its child pages take the other publication's address.

When a page's address changes, because it moved to another publication or its title changed, its old address stops working. If the old address has been shared, add a redirect in *Configuration → Search and metadata → URL redirects*. Renaming a publication changes only the cover's address; its pages keep theirs until each one is saved.

Visitors never see an unpublished page; editors still do. Pages beneath an unpublished page drop out of the navigation and the previous and next links, but they can still be found by search and in the full publication, so unpublish them as well.

## What readers get

* **Contents** — on the cover, each chapter with its description.
* **Navigation** — the whole publication beside every page, with the current page and its chapter open.
* **Previous and next** — at the foot of every page, in reading order through every level.
* **Search this publication** — a search box at the top of every page. Results come only from this publication, with the matching words highlighted.
* **View full publication** — in the tools under the title. It opens the whole publication on one page, to read through, print or save as PDF, with its chapters and sections listed under *On this page*.
* **Breadcrumb** — *Home › Publications › the publication › its chapters*.

All publications are listed at `/publications`, newest first, with a *Publication type* filter in the sidebar. Each selected type shows as a button under the search box: select one to remove that filter, or *Clear filters* to remove them all.

## Single-page publications

A publication with no pages shows just its cover, with no navigation or search. Give its **Content** headings and turn on **On this page**, so readers can still jump between sections.

## Checking a publication

*Manage → Content → Publication check* lists every publication page with the publication it belongs to. A page marked **Mismatch** has been saved outside the edit form, for example by an import. Open it and save it to fix it.

## For site administrators

* **Publication types** are terms in *Structure → Taxonomy → Publication type*. They are content, not configuration, so create them on each new site.
* **Structured data** — add these lines to the theme settings' Schema.org fields, so search engines see a publication and its parts. The settings are stored per site, not in configuration.
  * *Entity mappings*: `content_type,publication,Report` and `content_type,publication_page,CreativeWork`
  * *Relationships*: `field_publication,isPartOf,Report`
* **Search** — after deploying search changes, reindex the content index (`drush search-api:index content`).
