mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
refactor: remove ad scripts from views
Cleaned up multiple view files by removing Google AdSense script inclusions.
This commit is contained in:
@@ -14,11 +14,6 @@
|
||||
<meta name="googlebot" content="index, follow">
|
||||
@endpush
|
||||
|
||||
@push('top_scripts')
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4505764048662657"
|
||||
crossorigin="anonymous"></script>
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<a href="{{ route('posts.index') }}"
|
||||
class="block mt-8 text-sm font-medium text-center text-orange-400 uppercase hover:underline">Back
|
||||
@@ -40,20 +35,15 @@
|
||||
<h2 class="text-sm italic text-center text-orange-400 not-prose" itemprop="description">
|
||||
“{{ $post->description }}”
|
||||
</h2>
|
||||
<x-ads.in-article />
|
||||
<p>
|
||||
{{ $post->contents }}
|
||||
</p>
|
||||
<x-ads.in-article />
|
||||
<p class="mt-3 text-sm text-center">
|
||||
Tagged with: <span itemprop="keywords" class="italic">
|
||||
{{ isset($post->tags) ? implode(', ', $post->tags) : 'League of Legends' }}</span>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
@endsection
|
||||
|
||||
@push('bottom_scripts')
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user