Skip to content

Commit f9fca95

Browse files
committed
content: generateAlbumSocialEmbed: use group name, not directory
How does this even happen
1 parent 43fd39b commit f9fca95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/dependencies/generateAlbumSocialEmbed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default {
2525

2626
if (data.hasHeading) {
2727
const firstGroup = album.groups[0];
28-
data.headingGroupName = firstGroup.directory;
28+
data.headingGroupName = firstGroup.name;
2929
data.headingGroupDirectory = firstGroup.directory;
3030
}
3131

0 commit comments

Comments
 (0)