1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-05 13:47:37 +02:00

fix wrong modified date in meta

This commit is contained in:
trendschau
2025-05-07 22:21:43 +02:00
parent 8a2abeecfa
commit 99d7bdde0f
5 changed files with 6 additions and 4 deletions

2
cache/timer.yaml vendored
View File

@@ -1 +1 @@
licenseupdate: 1745960433
licenseupdate: 1746647584

View File

@@ -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.

View File

@@ -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

View File

@@ -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;
}

View File

@@ -213,7 +213,7 @@ navigation.component('navilevel',{
</div>
<!-- <div class="w-1/4 invisible group-hover:visible"> -->
<div class="flex">
<button :title="$filters.translate('add a file')" @click="addItem('file', parentId)" class="text-stone-500 bg-transparent hover:text-stone-100 hover:bg-stone-700 p-1 border-0 border-stone-50 transition duration-100">
<button :title="$filters.translate('add a page')" @click="addItem('file', parentId)" class="text-stone-500 bg-transparent hover:text-stone-100 hover:bg-stone-700 p-1 border-0 border-stone-50 transition duration-100">
<svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 28">
<path fill="currentColor" d="M22.937 5.938c0.578 0.578 1.062 1.734 1.062 2.562v18c0 0.828-0.672 1.5-1.5 1.5h-21c-0.828 0-1.5-0.672-1.5-1.5v-25c0-0.828 0.672-1.5 1.5-1.5h14c0.828 0 1.984 0.484 2.562 1.062zM16 2.125v5.875h5.875c-0.094-0.266-0.234-0.531-0.344-0.641l-4.891-4.891c-0.109-0.109-0.375-0.25-0.641-0.344zM22 26v-16h-6.5c-0.828 0-1.5-0.672-1.5-1.5v-6.5h-12v24h20zM6 12.5c0-0.281 0.219-0.5 0.5-0.5h11c0.281 0 0.5 0.219 0.5 0.5v1c0 0.281-0.219 0.5-0.5 0.5h-11c-0.281 0-0.5-0.219-0.5-0.5v-1zM17.5 16c0.281 0 0.5 0.219 0.5 0.5v1c0 0.281-0.219 0.5-0.5 0.5h-11c-0.281 0-0.5-0.219-0.5-0.5v-1c0-0.281 0.219-0.5 0.5-0.5h11zM17.5 20c0.281 0 0.5 0.219 0.5 0.5v1c0 0.281-0.219 0.5-0.5 0.5h-11c-0.281 0-0.5-0.219-0.5-0.5v-1c0-0.281 0.219-0.5 0.5-0.5h11z"></path>
</svg>