From 99d7bdde0f5e2f03e54832d6c06de68bbdaabfab Mon Sep 17 00:00:00 2001 From: trendschau Date: Wed, 7 May 2025 22:21:43 +0200 Subject: [PATCH] fix wrong modified date in meta --- cache/timer.yaml | 2 +- content/00-getting-started/00-create-your-first-page.md | 2 +- content/00-getting-started/00-create-your-first-page.yaml | 2 +- system/typemill/Models/Meta.php | 2 ++ system/typemill/author/js/vue-contentnavi.js | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cache/timer.yaml b/cache/timer.yaml index 51237c9..ff0c11e 100644 --- a/cache/timer.yaml +++ b/cache/timer.yaml @@ -1 +1 @@ -licenseupdate: 1745960433 +licenseupdate: 1746647584 diff --git a/content/00-getting-started/00-create-your-first-page.md b/content/00-getting-started/00-create-your-first-page.md index 85646bb..b399541 100644 --- a/content/00-getting-started/00-create-your-first-page.md +++ b/content/00-getting-started/00-create-your-first-page.md @@ -1,6 +1,6 @@ # Create Your First Page -To create a new page in Typemill, follow these simple steps: +To create a new page in Typemill, follow these steps: * Use the **interactive navigation** located on the left side of the screen. * **Enter a page title** for your new page into one of the grey input fields. diff --git a/content/00-getting-started/00-create-your-first-page.yaml b/content/00-getting-started/00-create-your-first-page.yaml index 50d09e2..71c2b4e 100644 --- a/content/00-getting-started/00-create-your-first-page.yaml +++ b/content/00-getting-started/00-create-your-first-page.yaml @@ -5,7 +5,7 @@ meta: heroimage: '' owner: trendschau author: 'Sebastian Schürmanns' - modified: '2024-04-27' + modified: '2025-05-07' created: '2024-04-25' time: 17-24-48 hide: false diff --git a/system/typemill/Models/Meta.php b/system/typemill/Models/Meta.php index ceb9300..bceccc1 100644 --- a/system/typemill/Models/Meta.php +++ b/system/typemill/Models/Meta.php @@ -20,6 +20,8 @@ class Meta public function getMetaData($item) { $metadata = $this->storage->getYaml('contentFolder', '', $item->pathWithoutType . '.yaml'); + + $metadata['meta']['modified'] = $this->storage->getFileTime('contentFolder', '', $item->pathWithoutType . '.md'); return $metadata; } diff --git a/system/typemill/author/js/vue-contentnavi.js b/system/typemill/author/js/vue-contentnavi.js index 653a8a1..94956ac 100644 --- a/system/typemill/author/js/vue-contentnavi.js +++ b/system/typemill/author/js/vue-contentnavi.js @@ -213,7 +213,7 @@ navigation.component('navilevel',{
-