{{-- Copyright (c) ppy Pty Ltd . Licensed under the GNU Affero General Public License v3.0. See the LICENCE file in the repository root for full licence text. --}} @php $appUrl = $GLOBALS['cfg']['app']['url']; $currentLocale = App::getLocale(); $fallbackLocale = $GLOBALS['cfg']['app']['fallback_locale']; $opengraph = Request::instance()->attributes->get('opengraph'); $opengraph['description'] ??= $pageDescription ?? null; @endphp {{-- @osu-colour-b1 --}} @if (isset($canonicalUrl)) @endif @foreach ($opengraph as $key => $value) @if (present($value)) @if ($key === 'title') @else @endif @endif @endforeach @if ($noindex ?? false) @endif @switch($currentLocale) @case('vi') @break @case('zh') @break @case('zh-tw') @break @case('th') @break @endswitch @if ($fallbackLocale !== $currentLocale) @endif @if (isset($atom)) @endif @if (isset($canonicalUrl)) @endif @if (isset($translatedPages)) @foreach ($translatedPages as $l => $url) @endforeach @endif