> For the complete documentation index, see [llms.txt](https://ispectra.gitbook.io/mutamad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ispectra.gitbook.io/mutamad/site-building/content-types.md). Agents can also search and read this documentation through its [MCP server](https://ispectra.gitbook.io/mutamad/~gitbook/mcp).

# Content types

The content types of a government site, one recipe each, sharing one base.

Each content type is **its own recipe**, so a site takes only the types it needs and each is tested alone on a bare site. All of them apply `mutamad_content_base` first and share what it provides.

## What every type shares

|                        |                                                                                                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Form**               | Three tabs: *Basic information* (language first), *Classification* (Topics, Audiences), *SEO* (SEO title, required SEO description, SEO image, real-time SEO analysis) |
| **Workflow**           | Draft → In review → Published → Archived, with a reason for every edit                                                                                                 |
| **Languages**          | Translatable; a new item is in the language of the address                                                                                                             |
| **Layout**             | A Canvas content template in DGA's style                                                                                                                               |
| **Address**            | A readable pattern, keeping Arabic letters: `/ar/الأخبار/…`, `/en/news/…`                                                                                              |
| **Search and sharing** | Meta tags, schema.org, the XML sitemap, site search                                                                                                                    |
| **Vocabularies**       | Topics and Audiences (reviewers manage the terms, editors pick them); a public page per topic at `/topics/<name>`                                                      |
| **Shared fields**      | Body, featured image, tags, attachments, related content, publication date                                                                                             |

## The types

| Type                  | Recipe                    | Fields                                                                                                                                                                                                             | List page                                              | In a new site       |
| --------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ | ------------------- |
| **Basic page**        | `mutamad_content_base`    | Title, body, featured image, tags                                                                                                                                                                                  | —                                                      | Applied             |
| **Service**           | `mutamad_services`        | Description, *Start the service* button, fees, completion time, channels, payment channels, related platform, steps, eligibility, required information, video, service-level agreement, related links, attachments | `/services` — search, topic and audience filters       | Applied             |
| **News**              | `mutamad_news`            | Date (today by default), type (News, Announcement, Circular), body, featured image, attachments                                                                                                                    | `/news` — newest first, type and topic filters         | Applied             |
| **Event**             | `mutamad_events`          | Start and end, type (Conference, Forum, Workshop, Exhibition, Webinar), location, online link, registration link, body, image, attachments                                                                         | `/events` (upcoming, soonest first), `/events/past`    | Applied             |
| **FAQ**               | `mutamad_faq`             | Question, answer, order                                                                                                                                                                                            | `/faq` — one accordion, keyword search, topic filter   | Applied             |
| **Publication**       | `mutamad_resources`       | Type (Report, Guide, Policy, Form, Regulation), date, files per language (required), description, cover                                                                                                            | `/publications` — newest first, type and topic filters | Applied             |
| **Person**            | `mutamad_people`          | Name, position, photo, biography, order — no personal contact details                                                                                                                                              | `/leadership` — in the order set                       | Applied             |
| **Newsletter issue**  | `mutamad_newsletter`      | Subject, body; sent by a reviewer                                                                                                                                                                                  | Subscription card on content pages                     | Applied             |
| **e-Consultation**    | `mutamad_e_consultations` | Summary, period, documents, Istitlaa link, results; a comment form that opens and closes with the period                                                                                                           | `/e-consultations`, `/e-consultations/closed`          | Optional            |
| **Life journey**      | `mutamad_life_journeys`   | Introduction, stages (Services, in order), featured image, order                                                                                                                                                   | `/life-journeys`                                       | Optional            |
| **Knowledge article** | `mutamad_knowledge_base`  | Answer, the other ways people ask, the service and regulation it rests on, **review date**                                                                                                                         | `/knowledge`                                           | Added with Composer |

<figure><img src="https://171036656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQSekKpxOCXC1q6G2NRy9%2Fuploads%2Fgit-blob-bdd42fbdd901366da87e15f036c7c9e40aa749f8%2Fservices-ar.jpg?alt=media" alt="The Services page in Arabic"><figcaption><p>The Services list in Arabic: DGA cards, a search and filters shown as removable chips.</p></figcaption></figure>

## DGA templates

| DGA template                             | Mutamad                                                                                                      |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Service Page                             | Service: facts in a structured list, then Steps, Eligibility and Required information as tabs, then a rating |
| FAQ                                      | FAQ list page                                                                                                |
| Life Journeys                            | Life journey: numbered stages, each with *Service requirements* to open, then ratings                        |
| e-Participation                          | The hub at `/e-participation` and its policy (shipped as Canvas pages); e-Consultation (optional)            |
| About the Entity                         | About us and five pages, shipped as Canvas pages                                                             |
| Page Not Found, Site Map, Help & Support | Shipped as Canvas pages                                                                                      |
| Chatbot                                  | The AI chatbot (optional, preview)                                                                           |

## Applied alone, a type looks plain — on purpose

A content-type recipe must apply on bare Drupal, so its own Canvas template uses only field components. On a Mutamad site, `mutamad_starter` replaces those templates with the theme's DGA components. See [Architecture](https://ispectra.gitbook.io/mutamad/concepts/architecture.md#content-types-and-their-layout).

## Adding a content type of your own

Put an entity-specific type in **your own module or recipe**, not in a `mutamad_*` recipe. Follow the pattern:

1. Apply `mutamad_content_base` first, and reuse its field storages (body, featured image, topics, audiences…).
2. Add the type to the workflow with the `addNodeTypes` config action on `workflows.workflow.editorial`.
3. Grant the three job roles their permissions — after the roles exist.
4. Import the configuration your modules need explicitly (`config: import:`): recipes skip `config/install`.
5. Give it an address pattern, meta tags, a sitemap setting and a Canvas content template.
6. Add a check that proves its permissions hold.
