Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Arbeit authored and Arbeit committed Feb 24, 2018
1 parent bebaca6 commit 04d8692
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Leaf.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ public function constructBase()
{
$uri_parts = explode('/', $this->uri);
$base = $uri_parts[0];
if ($base != "/") {
if ( File::exists($base) )
{
$this->base = $this->retriveMetas($this->base['slug'], 'leaves');
$this->base['slug'] = $uri_parts[0];
$this->base = $this->retriveMetas($uri_base, 'leaves');
}
}


public function cssStandards($content)
{
if ( !empty(config('iba.short_keys')) )
Expand Down

0 comments on commit 04d8692

Please sign in to comment.