{!! '<'.'?xml version="1.0" encoding="UTF-8"?>' !!} @foreach ($urls as $url) {{ $url['loc'] }} @if ($url['lastmod']) {{ $url['lastmod'] }} @endif @foreach ($url['alternates'] as $hreflang => $href) @endforeach @endforeach