If check and fallback in Kirby Meta plugin

Well done @jimbobrjames!

I’ll give you a little tip that I use a lot to simplify this configuration. With the new syntax, you can store repeated values in variables to reuse them in other places.

c::set('meta-tags.default', function(Page $page, Site $site) {
    $title = $page->isHomePage()
          ? $site->seotitle()
          : $page->seotitle().' | '.$site->seotitle();

    return [
        'title' => $title,
        // ...

Then you can just use $title in the other places you repeated that bit of code.

Nice, thanks for the tip @pedroborges!