Skip to content

Commit

Permalink
Merge pull request #78 from noblereign/master
Browse files Browse the repository at this point in the history
add og:site_name to embeds
  • Loading branch information
jvyden authored May 7, 2024
2 parents 1b8537d + c26dc66 commit c5a9058
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/services/embed.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ export class EmbedService {

embedInstance(instance: Instance) {
if (this.meta.getTag('name="og:title"')) return;

this.embed(`${instance.instanceName} - ${instance.instanceDescription}`, `${instance.instanceName} is a free custom server for LittleBigPlanet.`);
this.setPropertyTag("og:site_name", instance.instanceName)
this.setPropertyTag("og:type", "website");
}

Expand Down

0 comments on commit c5a9058

Please sign in to comment.