HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers104/angeliekly.nl/app/views/layouts/partials/posts/categories.blade.php
<ul class="categories">
    @foreach($categories as $category)
        <li class="{{\Illuminate\Support\Str::slug($category->name)}} @if(isset($activeCategory) && $activeCategory == \Illuminate\Support\Str::slug($category->name)) active @endif ">
            <a
                    @if(isset($activeCategory) && $activeCategory == \Illuminate\Support\Str::slug($category->name) && !isset($withName))
                        href="/{{$links->blog->route}}" data-url="/{{$links->blog->route}}"
                    @else
                        href="/{{$links->blog->route}}/{{\Illuminate\Support\Str::slug($category->name)}}"

                        @if(!in_array($page->code_name, ['disclaimer', 'legal', 'privacy']))
                            data-url="/{{$links->blog->route}}/{{\Illuminate\Support\Str::slug($category->name)}}"
                            data-category="{{\Illuminate\Support\Str::slug($category->name)}}"
                        @endif
                    @endif

                    @if(!in_array($page->code_name, ['disclaimer', 'legal', 'privacy']))
                        data-page="{{$links->blog->code_name}}" class="history-link">
                    @endif

                <span></span> @if(isset($withName))<p>{{$category->name}}</p> @endif
            </a>
        </li>
    @endforeach
</ul>