diff --git a/cache/timer.yaml b/cache/timer.yaml index 706c30b..a29e94a 100644 --- a/cache/timer.yaml +++ b/cache/timer.yaml @@ -1 +1 @@ -licenseupdate: 1747561267 +licenseupdate: 1747568554 diff --git a/system/typemill/Models/Meta.php b/system/typemill/Models/Meta.php index bceccc1..68a7313 100644 --- a/system/typemill/Models/Meta.php +++ b/system/typemill/Models/Meta.php @@ -21,7 +21,13 @@ class Meta { $metadata = $this->storage->getYaml('contentFolder', '', $item->pathWithoutType . '.yaml'); - $metadata['meta']['modified'] = $this->storage->getFileTime('contentFolder', '', $item->pathWithoutType . '.md'); + $modified = $this->storage->getFileTime('contentFolder', '', $item->pathWithoutType . '.md'); + if(!$modified) + { + $modified = $this->storage->getFileTime('contentFolder', '', $item->pathWithoutType . '.txt'); + } + + $metadata['meta']['modified'] = $modified; return $metadata; }