DERTOUR GroupDesign
Documentation
Guide contents
02Search results section 2 of 10

Results heading

The large centred line above the tabs — the page's own title, not a count of results.

The entry you edit

Search results (Page)

Content type

Page


What makes it this section
Kind = searchResults

This is what makes a Page entry the search results page. The page is routed by the application, so it needs no Slug — a slug typed here is ignored while looking authoritative.

What a visitor sees

On the websiteLIVE
The centred heading "Your next great escape awaits" above the result tabs.
The page's own title. It does not change with the search.
  1. 1

    Title

What each field controls

The Field column is the label as it appears in Contentful; under it, the field's id, for talking to a developer. The number matches the marker on the screenshots above.

#FieldWhat it controlsNotes

Internal name

internalName
required
Nothing on the page.

Kind

kind
required
Which page of the site this entry is.

Must be searchResults. Change it and this entry stops driving the page — and the page silently returns to the built-in copy in the code.

Choose one of:
generic
homepage
hotelDetail
tripIdea
searchResults
quoteList
quoteDetail
bookingList
bookingDetail
1

Title

title
The big centred heading above the tabs.

Slug

slug
Nothing on this page.

Leave blank. This route comes from the application; a slug here is ignored.

SEO

seo
The page's title and description for search engines.

Worth knowing: this page is deliberately kept out of Google, because search results are duplicate content. SEO fields here have little to do.

How to change it, step by step

  1. Open the search results Page entry

    Search Contentful for the Page entry whose Kind is "searchResults". There must be only one published — a second one makes which of them renders unpredictable.

  2. Edit Title

    Change the value listed in the table above. Contentful saves as you type, but saving is not publishing.

  3. Publish the entry

    Change status → Publish, top right. Until you do, the page keeps showing the previous published version — or, if this entry has never been published, the built-in copy written into the code.

  4. Check the page

    Open /search-results and run a search. Changes appear within about 30 seconds.


Previous section

Search bar

Next section

Result tabs