Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @foreach($stylesheet as $node)
- @if($node->getAttribute('rel')=='canonical' && $node->getAttribute('href') >! 0)
- {!! $showErrorMessage = 1; !!}
- @else
- {{$node->getAttribute('href'), PHP_EOL}} <br />
- @endif
- @endforeach
- @if($showErrorMessage == 1)
- {!! $showErrorMessage = 0; !!}
- <p class="red">Geen canonical url</p>
- @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement