okuden-labo
4/14/2017 - 10:30 AM

page_theme.php

page_theme.php

<?php

//jqueryとfont-awesomeを入れる

namespace Application\Theme\theme-name;
use Concrete\Core\Page\Theme\Theme;

class PageTheme extends Theme {

    public function registerAssets() {

        $this->requireAsset('css', 'font-awesome');
        $this->requireAsset('javascript', 'jquery');
    }
    public function getThemeBlockClasses(){
        return array(
            'content' => array('text-center')
        );
    }
}