File: D:/HostingSpaces/SBogers104/angeliekly.nl/app/storage/views/b6e7fd71e8a697ebf2cf58143fdc9490
<ul class="categories"> <?php foreach($categories as $category): ?> <li class="<?php echo \Illuminate\Support\Str::slug($category->name); ?> <?php if(isset($activeCategory) && $activeCategory == \Illuminate\Support\Str::slug($category->name)): ?> active <?php endif; ?> "> <a <?php if(isset($activeCategory) && $activeCategory == \Illuminate\Support\Str::slug($category->name) && !isset($withName)): ?> href="/<?php echo $links->blog->route; ?>" data-url="/<?php echo $links->blog->route; ?>" <?php else: ?> href="/<?php echo $links->blog->route; ?>/<?php echo \Illuminate\Support\Str::slug($category->name); ?>" <?php if(!in_array($page->code_name, ['disclaimer', 'legal', 'privacy'])): ?> data-url="/<?php echo $links->blog->route; ?>/<?php echo \Illuminate\Support\Str::slug($category->name); ?>" data-category="<?php echo \Illuminate\Support\Str::slug($category->name); ?>" <?php endif; ?> <?php endif; ?> <?php if(!in_array($page->code_name, ['disclaimer', 'legal', 'privacy'])): ?> data-page="<?php echo $links->blog->code_name; ?>" class="history-link"> <?php endif; ?> <span></span> <?php if(isset($withName)): ?><p><?php echo $category->name; ?></p> <?php endif; ?> </a> </li> <?php endforeach; ?> </ul>