mirror of
https://github.com/typemill/typemill.git
synced 2025-10-16 23:28:52 +02:00
Version 1.1.3 Introduce Admin Dashboard
This commit is contained in:
@@ -234,9 +234,13 @@ class PageController extends Controller
|
||||
{
|
||||
foreach($contentBlocks as $block)
|
||||
{
|
||||
if(isset($block['element']['name']) && $block['element']['name'] == 'p' && substr($block['element']['text'], 0, 2) == '![' )
|
||||
/* is it a paragraph? */
|
||||
if(isset($block['element']['name']) && $block['element']['name'] == 'p')
|
||||
{
|
||||
return $block['element']['text'];
|
||||
if(isset($block['element']['handler']['argument']) && substr($block['element']['handler']['argument'], 0, 2) == '![' )
|
||||
{
|
||||
return $block['element']['handler']['argument'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -41,7 +41,7 @@ class Settings
|
||||
'userPath' => $rootPath . 'settings' . DIRECTORY_SEPARATOR . 'users',
|
||||
'authorPath' => __DIR__ . DIRECTORY_SEPARATOR . 'author' . DIRECTORY_SEPARATOR,
|
||||
'contentFolder' => 'content',
|
||||
'version' => '1.1.2',
|
||||
'version' => '1.1.3',
|
||||
'setup' => true
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user