<?php
/**
 * @brief Custom, a theme for Dotclear 2
 *
 * @package Dotclear
 * @subpackage Themes
 *
 * @copyright Olivier Meunier & Association Dotclear
 * @copyright GPL-2.0-only
 */

namespace themes\customcss;

if (!defined('DC_RC_PATH')) {return;}

$core->addBehavior('publicHeadContent', [__NAMESPACE__ . '\tplCustomTheme', 'publicHeadContent']);

class tplCustomTheme
{
    public static function publicHeadContent($core)
    {
        echo
        '<style type="text/css">' . "\n" .
        '@import url(' . $core->blog->settings->system->public_url . '/custom_style.css);' . "\n" .
            "</style>\n";
    }
}
