php - Bootstrap Sidebar on Laravel 5 specific page only -


i'm pretty new bootstrap , i'm making laravel app. , want make left sidebar on page. don't want edit app.blade.php because don't want make sidebar on pages, on specific page. code:

my code

and page looks enter image description here

@if(request::url() == url() . '/your/url/goes/here')     @include('whatever-you-wish-here') @endif 

this go in base view other views extend.

so in case assume app.blade.php


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -