From f91761e83d86b251efedcdab4dd4eb79739e42af Mon Sep 17 00:00:00 2001 From: trendschau Date: Fri, 17 May 2024 14:33:31 +0200 Subject: [PATCH] v2.5.0 Fix error when create blog post --- cache/cyanine-custom.css | 4 +- .../ControllerApiAuthorArticle.php | 5 +- system/typemill/author/js/vue-themes.js | 16 +- system/typemill/settings/defaults.yaml | 2 +- themes/cyanine/cyanine.yaml | 237 ++++++++++++++---- 5 files changed, 204 insertions(+), 60 deletions(-) diff --git a/cache/cyanine-custom.css b/cache/cyanine-custom.css index 61ff634..31b5d68 100644 --- a/cache/cyanine-custom.css +++ b/cache/cyanine-custom.css @@ -1,3 +1,3 @@ -.body{ - background-color: green; +.landingpageinfo ol{ + text-align:left; } \ No newline at end of file diff --git a/system/typemill/Controllers/ControllerApiAuthorArticle.php b/system/typemill/Controllers/ControllerApiAuthorArticle.php index 6676d4d..ff1e04d 100644 --- a/system/typemill/Controllers/ControllerApiAuthorArticle.php +++ b/system/typemill/Controllers/ControllerApiAuthorArticle.php @@ -698,12 +698,9 @@ class ControllerApiAuthorArticle extends Controller $navigation->clearNavigation([$naviFileName, $naviFileName . '-extended']); $draftNavigation = $navigation->getFullDraftNavigation($urlinfo, $this->settings['langattr']); - $draftNavigation = $navigation->setActiveNaviItemsWithKeyPath($draftNavigation, $item->keyPathArray); - $item = $navigation->getItemWithKeyPath($draftNavigation, $item->keyPathArray); $response->getBody()->write(json_encode([ - 'navigation' => $draftNavigation, - 'item' => $item, + 'navigation' => $draftNavigation ])); return $response->withHeader('Content-Type', 'application/json'); diff --git a/system/typemill/author/js/vue-themes.js b/system/typemill/author/js/vue-themes.js index e6d90c8..3578cd8 100644 --- a/system/typemill/author/js/vue-themes.js +++ b/system/typemill/author/js/vue-themes.js @@ -41,9 +41,9 @@ const app = Vue.createApp({

Readymades are predefined settings. Store your own readymades or load readymades to quickly setup your theme.