Editing a City Page
Each city has its own services page with a customized hero, intro paragraph, and section headings. This guide walks you through editing all of them.
[SCREENSHOT: A city services page on the website showing the hero, intro, and services list]
Where to Find It
Section titled “Where to Find It”English city pages:
- Log in to Directus.
- Click Content in the left sidebar.
- Click services_page.
- You’ll see a list of cities. Click the city you want to edit.
Spanish city pages:
- Same steps, but click services_page_es instead.
[SCREENSHOT: The services_page collection showing a list of city entries]
Field Reference
Section titled “Field Reference”| Field | What it does |
|---|---|
city | The URL slug for this city (e.g., eagle-pass) — do not change this |
hero_title | The headline shown in the hero banner for this city |
hero_description | The short paragraph in the hero |
hero_img | The background image for the hero banner |
intro_body | The intro paragraph below the hero — supports markdown formatting |
services_title | The heading above the services list (e.g., “Our Services in Eagle Pass”) |
local_title | The heading above the Local Considerations section |
local_list | The local consideration items — linked from the local_list collection |
Step-by-Step: Editing a City Page
Section titled “Step-by-Step: Editing a City Page”- Open services_page and click the city you want to edit.
- Update the hero_title — type the city-specific headline.
- Update the hero_description — type the short hero paragraph.
- To change the hero background image, click hero_img and upload a new photo.
- Click the intro_body field and update the intro paragraph.
- Update services_title with the heading for the services list.
- Update local_title with the heading for the local section.
- Click Save when done.
Formatting the Intro Body
Section titled “Formatting the Intro Body”The intro_body field supports markdown. You can use bold text, bullet points, and line breaks to make the content easier to read.
Welcome to Maverick Mobile Home Services in **Eagle Pass**.
We've been serving this community for over 25 years, offering:
- Mobile home leveling and foundation repair- Plumbing and electrical services- Roof repair and replacementFor the full markdown reference, see the Formatting Guide.
The City Slug Field
Section titled “The City Slug Field”Editing Local Considerations Items
Section titled “Editing Local Considerations Items”The items in the Local Considerations section come from the local_list collection. To add, edit, or remove items, see your developer or follow these steps:
- Click Content → local_list.
- Click the item you want to edit.
- Update the title and description in the Translations section.
- Click Save.
Changes to local_list items will appear on any city page that uses them.