feat: allow subpages to override title and add subtitle in gallery.yaml
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user