From 5026fc168ef45af89ad68f7e7cc3eb49fdeef585 Mon Sep 17 00:00:00 2001 From: Are0h Date: Sat, 5 Feb 2022 23:50:48 +0000 Subject: [PATCH] added dynamicRender flag to config for templates --- config.json | 1 + index.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config.json b/config.json index 604bf74..bd9db53 100644 --- a/config.json +++ b/config.json @@ -3,6 +3,7 @@ "welcome_message": "Hey there. So this is a long ass title to see how it breaks", "keywords": "creative technoglogist, graphic design, web development, designer developer, social thought, political discussion, music producer, creative culture, black creative, black geek", "description": "The home site of Creative Technologist, music maker, and social philoshoper, Ro. Ha, I know. Me too.", + "dynamicRender": "true", "base_path": "/src/front/", "default_bg": "/assets/images/global/default-bg.jpg", "default_avi": "/assets/images/global/default-avi.png", diff --git a/index.php b/index.php index 09c1d25..547fd0f 100644 --- a/index.php +++ b/index.php @@ -53,6 +53,7 @@ class ThemeEngine "debug" => true, //for theme kit "theme" => $this->themeFolder, //for theme kit "title" => "This is Fipamo", + "dynamicRender" => $this->data["dynamicRender"], "background" => $this->themeAssetPath . "/assets/images/global/default-bg.jpg", "recent" => $recent, @@ -70,6 +71,7 @@ class ThemeEngine "debug" => true, //for theme kit "theme" => $this->themeFolder, //for theme kit "title" => "Page Title", + "dynamicRender" => $this->data["dynamicRender"], "background" => $this->themeAssetPath . "/assets/images/global/default-bg.jpg", "content" => $content, @@ -85,6 +87,7 @@ class ThemeEngine "debug" => true, //for theme kit "theme" => $this->themeFolder, //for theme kit "title" => "Pages Tagged as Tag", + "dynamicRender" => $this->data["dynamicRender"], "background" => $this->themeAssetPath . "/assets/images/global/default-bg.jpg", "tag_list" => $tags, @@ -99,6 +102,7 @@ class ThemeEngine "debug" => true, //for theme kit "theme" => $this->themeFolder, //for theme kit "title" => "Archive", + "dynamicRender" => $this->data["dynamicRender"], "background" => $this->themeAssetPath . "/assets/images/global/default-bg.jpg", "archives" => $archive,