diff --git a/content/index.blade.php b/content/index.blade.php index 25cbc68..dbdee12 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -1,6 +1,8 @@ +@inject('type', 'Type') @extends('template.'.config('settings.template').'.content.master') @section('content') + @php($themes = $type->get("Themes"))
@@ -16,7 +18,7 @@
- @foreach($contents as $content) + @foreach($themes->contents as $content)