Renaming a section like the “services” page is a common request. For example let’s say you wanted to rename it to something like “courses”.
Rename “content/en/services” to “content/en/courses”.
If your site is multilingual you should rename all other services folders as well.
Edit content/en/courses/_index.md
frontmatter and update the title
, and menu
properties, replacing “services” with “courses”
---
title: 'Services'
description: 'We deliver a complete range of digital services.'
date: 2018-02-10T11:52:18+07:00
menu:
main:
identifier: services
url: /services/
weight: 1
footer_primary:
identifier: services_footer
url: /services/
weight: 1
header_transparent: true
hero:
background: 'images/services/services-hero-1600.jpg'
blend_mode: 'overlay'
theme: 'primary'
---
If the menu is using a dropdown for this section you will also need to update the sub pages
For example edit content/en/courses/branding.md
and edit the menu.main.parent
value from “services” to “courses”
---
title: 'Branding'
description: 'The expression of a brand including its name, trademark, and visual appearance.'
date: 2019-10-03
menu:
main:
weight: 4
parent: 'services'
weight: 4
icon: 'images/services/icons8-adobe_indesign.png'
thumbnail: 'https://source.unsplash.com/hqCEQTc5gZA/640x360'
image: 'https://source.unsplash.com/hqCEQTc5gZA/640x450'
hero:
background: ''
blend_mode: 'normal'
theme: 'base'
---