Publih On: 2023-12-02
Learn how to update the gallery index page on the Blacks Astro JS template.
Full documentation: Gallery guide →
Open the file:
src/pages/gallery/index.md
This file controls the content of your gallery index page — the landing page that links to your image and video galleries.
---
layout: ../../design/gallery/start.astro
title: Title for your gallery page here...
description: Insert description gallery page here...
image: Insert url for image cover here...
image_icon: insert url for image gallery here...
image_text: Insert text info for your image gallery here..
video_icon: insert your video gallery icon here...
video_text: insert your text info for video gallery here...
---
| Field | Purpose |
|---|---|
layout |
Gallery layout template. Don’t change this. |
title |
Gallery page title — appears in the browser tab and SEO |
description |
Meta description — used by Google and social previews |
image |
Cover image for the gallery index page |
image_icon |
Icon for the image gallery card |
image_text |
Label for the image gallery card |
video_icon |
Icon for the video gallery card |
video_text |
Label for the video gallery card |
After updating:
localhost:4321/gallery to see the resultNow you can create the actual image and video gallery content:
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