I've tried a variety of ways, including the popular post here: Add View Name to CSS Class on Body
But it pulls up the master template, rather than the sub-template name. I use @yield and @extends and such. So at the moment this is what a part of my file system looks like in my views:
-Views
--Layouts
---=master.blade.php
--Shipments
---=index.blade.php
So my shipments.index file will @extends('layouts.master'), just so I don't have so much redundancy. However, referencing the above post, I get the following result:
<div id="page" class="layouts.master">
which is not what I'd like, I'd prefer at the very least "shipments.index", I don't mind if it's longer, I just want it identified.