classes/Helpers.php
public function title()
    {
        // If no title has been set, try to figure it out based on breadcrumbs
        $title = View::yieldContent('title');
        if (empty($title)) {
            $title = app('decoy.breadcrumbs')->title();
        }

        // Set the title
        $site = $this->site();

        return '<title>' . ($title ? "$title | $site" : $site) . '</title>';
    }
public function title()
    {
        // If no title has been set, try to figure it out based on breadcrumbs
        $title = View::yieldContent('title');
        if (empty($title)) {
            $title = app('decoy.breadcrumbs')->title();
        }

        // Set the title
        $site = $this->site();

        return '<title>' . ($title ? "$title | $site" : $site) . '</title>';
    }
public function title ( ) { // If no title has been set, try to figure it out based on breadcrumbs $ title = View :: yieldContent ( 'title' ) ; if ( empty ( $ title ) ) { $ title = app ( 'decoy.breadcrumbs' ) -> title ( ) ; } // Set the title $ site = $ this -> site ( ) ; return '<title>' . ( $ title ? "$title | $site" : $ site ) . '</title>' ; }
Generate title tags based on section content

@return string
Generate title tags based on section content