mirror of
https://github.com/flextype/flextype.git
synced 2025-08-13 00:24:15 +02:00
Code cleanup and refactoring #5
This commit is contained in:
@@ -52,13 +52,6 @@ class Pages
|
||||
Events::dispatch('onPageAfterRender');
|
||||
}
|
||||
|
||||
protected static function pageShortcodes() {
|
||||
// {site_url}
|
||||
$this->rawilum['shortcodes']->add('site_url', function() {
|
||||
return Url::getBase();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Page finder
|
||||
*/
|
||||
|
Reference in New Issue
Block a user