kirby-meta-knight icon indicating copy to clipboard operation
kirby-meta-knight copied to clipboard

og:site_name does not fallback to site title

Open Maybach91 opened this issue 3 years ago β€’ 2 comments

According to the Inputfields Help’ it says the og:site_name open_graph.yml:82 property will fallback to the site name.

og_site_name:
    label: OG Site Name
    help: If your object is part of a larger web site, the name which should be displayed for the overall site. Will use *site title* as fallback.
    type: text
    width: 1/2

But in the meta_information.phpLine 82 i cannot see, that it will fallback to the title:

<meta property="og:site_name" content="<?= $page->og_site_name()->or($site->og_site_name()) ?>">

Is that intended?

Maybach91 avatar Jul 28 '21 07:07 Maybach91

Thanks for pointing this out. The bug will be fixed in the next release.

jonathanmuth avatar Oct 21 '21 06:10 jonathanmuth

Yay, nice! Thank you so much @jonathanmuth :)

Maybach91 avatar Oct 23 '21 07:10 Maybach91