diff --git a/app/Services/Data/SortingService.php b/app/Services/Data/SortingService.php index 9e0296a..b071d8e 100644 --- a/app/Services/Data/SortingService.php +++ b/app/Services/Data/SortingService.php @@ -60,14 +60,17 @@ class SortingService } $tagData = []; - //dd($this->settings->getTags()['pages']); + $settingsTags = []; + if (isset($this->settings->getTags()['pages'])) { + $settingsTags = $this->settings->getTags()['pages']; + } $tagData = [ 'debug' => $debug, // for theme kit 'tags' => $this->p_tags, 'theme' => $this->info['theme'], // for theme kit 'title' => 'Pages Tagged as Tag', 'dynamicRender' => $this->info['dynamicRender'], - 'pages' => $this->settings->getTags()['pages'], + 'pages' => $settingsTags, 'info' => $this->info, 'menu' => $this->settings->getMenu(), 'media' => [ diff --git a/content/init/settings-template.json b/content/init/settings-template.json index a9681d8..b4dcc82 100644 --- a/content/init/settings-template.json +++ b/content/init/settings-template.json @@ -6,7 +6,7 @@ "background": "/assets/images/global/default-bg.jpg", "private": "true", "renderOnSave": "false", - "theme": "fipamo-default", + "theme": "fipamo-default-v2", "display_limit": 5, "last_backup": null, "externalAPI": "false",