diff --git a/rawilum/boot/events.php b/rawilum/boot/events.php new file mode 100644 index 00000000..4f425d5d --- /dev/null +++ b/rawilum/boot/events.php @@ -0,0 +1,16 @@ + + * @link http://rawilum.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +// Set Rawilum Meta Generator +Events::addListener('onThemeMeta', function () { + echo(''); +}); diff --git a/rawilum/boot/shortcodes.php b/rawilum/boot/shortcodes.php new file mode 100644 index 00000000..f0dc7527 --- /dev/null +++ b/rawilum/boot/shortcodes.php @@ -0,0 +1,16 @@ + + * @link http://rawilum.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +// Add {site_url} shortcode +Shortcodes::add('site_url', function () { + return Url::getBase(); +});