We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613b46e commit a7133afCopy full SHA for a7133af
1 file changed
apps/website/app/utils/conversion/jsonld.ts
@@ -171,8 +171,12 @@ export const asJsonLD = ({
171
}
172
173
if (author) {
174
- extraData.creator = author.name;
175
- // TODO: make into an object?
+ extraData.creator = {
+ // TODO: ensure it's a URL
176
+ "@id": author.account_local_id,
177
+ "@type": "UserAccount",
178
+ name: author.name,
179
+ };
180
181
let lastModified = concept.last_modified;
182
if (content && content.last_modified > lastModified)
0 commit comments