Publih On: 2023-12-02
Learn how to add and update service pages on the Blacks Astro JS template.
Full documentation: Services guide →
All service pages are in the folder:
src/pages/services
Each Markdown file in this folder becomes one service page.
Important: Do not delete the
[...page].astrofile. This file handles pagination and is required for the services page to work.
To add a new service:
.md file inside src/pages/services/portfolio-design.mdThe filename becomes the URL. For example:
src/pages/services/portfolio-design.md → /services/portfolio-design/---
layout: ../../design/services/servicespost.astro
title: insert title in here...
pubDate: 2023-12-05
intro: insert intro your services here....
description: insert description here...
image: insert url image here...
tags: ["insert tag here", "tag1", "tag2"]
---
write content in here....
| Field | Purpose |
|---|---|
layout |
Service post layout template. Don’t change this. |
title |
Service title — appears on the service listing and detail page |
pubDate |
Publication date — format: YYYY-MM-DD |
intro |
Short intro line shown at the top of the service page |
description |
Short description — used for SEO and social previews |
image |
Cover image for the service page |
tags |
Array of tags. Creates work archive pages automatically. |
intro field. It appears above your content and gives context.For a faster workflow:
src/pages/services/No configuration required. The services listing updates automatically.
If you need custom work or a headless CMS integrated, our team can help.
One Astro template for portfolio, company profile, blog, and creative work. Image gallery, cinematic video, blog system, and full SEO. Built for creators.
123 Creative Street
Los Angeles, CA 90001
United States
+1 234 567 890
hello@yourdomain.com