Changing hero banner content
Step-by-step guide to change content for your hero banner in your homepage
Note: Be very careful with the spacing in the homepage.yml file. Your website will break if the spacing are incorrect
- Select your “Staging” Branch
- In your repository, go to “_data” folder
- Edit homepage.yml file
- Change your hero banner image or content by amending the section below inside homepage.yml
- Click on “Commit changes” button
# Sample homepage.yml file section for reference
# Hero Banner
hero-title: Empowering our nation through technology
hero-subtitle: From transforming the delivery of Government Digital Services to building Smart Nation Infrastructure
hero-banner: /images/banner_GovTech.png