diff --git a/Features/Templates/README.md b/Features/Templates/README.md deleted file mode 100644 index 5d212759..00000000 --- a/Features/Templates/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Templates (Flynt Feature) - -Sets the config path for templates to `config/templates/` instead of the default `config/`. diff --git a/Features/Templates/functions.php b/Features/Templates/functions.php deleted file mode 100644 index f2a4c65c..00000000 --- a/Features/Templates/functions.php +++ /dev/null @@ -1,8 +0,0 @@ - 'DocumentDefault', + 'areas' => [ + 'layout' => [ + [ + 'name' => 'LayoutSinglePost', + 'areas' => [ + 'mainHeader' => [ + [ + 'name' => 'NavigationMain', + 'customData' => [ + 'menuSlug' => 'navigation_main', + ], + ], + ], + 'pageComponents' => [ + [ + 'name' => 'BlockNotFound', + ], + ], + 'mainFooter' => [], + ], + ], + ], + ], +]); diff --git a/templates/archive.php b/templates/archive.php index 46b35205..91be20d6 100644 --- a/templates/archive.php +++ b/templates/archive.php @@ -1,3 +1,28 @@ "DocumentDefault", + "areas" => [ + "layout" => [ + [ + "name" => "LayoutMultiplePosts", + "areas" => [ + "mainHeader" => [ + [ + "name" => "NavigationMain", + "customData" => [ + "menuSlug" => "navigation_main" + ] + ] + ], + "pageComponents" => [ + [ + "name" => "ListPosts" + ] + ], + "mainFooter" => [] + ] + ] + ] + ] +]); diff --git a/templates/home.php b/templates/home.php index 46b35205..91be20d6 100644 --- a/templates/home.php +++ b/templates/home.php @@ -1,3 +1,28 @@ "DocumentDefault", + "areas" => [ + "layout" => [ + [ + "name" => "LayoutMultiplePosts", + "areas" => [ + "mainHeader" => [ + [ + "name" => "NavigationMain", + "customData" => [ + "menuSlug" => "navigation_main" + ] + ] + ], + "pageComponents" => [ + [ + "name" => "ListPosts" + ] + ], + "mainFooter" => [] + ] + ] + ] + ] +]); diff --git a/templates/index.php b/templates/index.php index dca5fab9..c38e2860 100644 --- a/templates/index.php +++ b/templates/index.php @@ -1,3 +1,31 @@ "DocumentDefault", + "areas" => [ + "layout" => [ + [ + "name" => "LayoutSinglePost", + "areas" => [ + "mainHeader" => [ + [ + "name" => "NavigationMain", + "customData" => [ + "menuSlug" => "navigation_main" + ] + ] + ], + "pageComponents" => [ + [ + "name" => "ComponentLoaderFlexible", + "customData" => [ + "fieldGroup" => "pageComponents" + ] + ] + ], + "mainFooter" => [] + ] + ] + ] + ] +]);