protected function setBlocks()
    {
        //Sets the "theme color" (the toolbar color for some mobile browser)
        if (getConfig('default.toolbar_color')) {
            $this->Html->meta('theme-color', getConfig('default.toolbar_color'));
        }

        //Sets the meta tag for RSS posts
        if (getConfig('default.rss_meta')) {
            $this->Html->meta(__d('me_cms', 'Latest posts'), '/posts/rss', ['type' => 'rss']);
        }

        //Sets scripts for Google Analytics
        if (getConfig('default.analytics')) {
            echo $this->Library->analytics(getConfig('default.analytics'));
        }

        //Sets scripts for Shareaholic
        if (getConfig('shareaholic.site_id')) {
            echo $this->Library->shareaholic(getConfig('shareaholic.site_id'));
        }

        //Sets some Facebook's tags
        $this->Html->meta(['content' => $this->getTitleForLayout(), 'property' => 'og:title']);
        $this->Html->meta(['content' => Router::url(null, true), 'property' => 'og:url']);

        //Sets the app ID for Facebook
        if (getConfig('default.facebook_app_id')) {
            $this->Html->meta([
                'content' => getConfig('default.facebook_app_id'),
                'property' => 'fb:app_id',
            ]);
        }
    }