-
@foreach($effects as $e)
- {{ $e }} @endforeach
-
@foreach($sources as $s)
- {{ $s }} @endforeach
{{-- resources/views/wiki/page.blade.php --}}
@php $meta = $meta ?? []; $tabTitle = $meta['name'] ?? $meta['title'] ?? null; if (!$tabTitle) { $sec = isset($section) ? ucfirst(str_replace('-', ' ', (string) $section)) : 'Wiki'; $slg = isset($slug) ? ucfirst(str_replace('-', ' ', (string) $slug)) : ''; $tabTitle = trim($sec . ($slg ? ' / ' . $slg : '')); } $rawDesc = $meta['description'] ?? $meta['summary'] ?? ''; if (is_array($rawDesc)) { $rawDesc = implode(' ', array_filter(array_map('trim', $rawDesc))); } $seoDescription = trim((string) $rawDesc); if ($seoDescription === '') { $seoDescription = 'Learn more about ' . $tabTitle . ' on the Vortex Sky X Wiki.'; } $seoTitle = $tabTitle . ' • Vortex Sky X Wiki'; $icon = (string) ($meta['icon'] ?? ''); $seoImage = $icon !== '' ? (str_starts_with($icon, 'http') ? $icon : url($icon)) : asset('images/WebLogo.png'); @endphp\s*]*>\s*<\/p>\s*/is', '', $renderHtml, 1);
$renderHtml = preg_replace('/
]*>\s*(?:
@endif
@foreach($effects as $e)
@foreach($sources as $s)