feat: allow subpages to override title and add subtitle in gallery.yaml

This commit is contained in:
ralksta
2026-03-08 22:46:27 +01:00
parent 88f03fe2ce
commit 32bb6cb2ca
6 changed files with 57 additions and 34 deletions

View File

@@ -222,6 +222,8 @@ export default async function PathPage({ params }: PathPageProps) {
return (
<SubpageGridView
slug={slug}
title={result.subpage.title || result.subpage.name}
subtitle={result.subpage.subtitle}
albums={albums}
coverPlaceholders={coverPlaceholders}
/>