<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="utf-8">
    <title>Welcome to PublicCMS!</title>
</head>
<body>
    <h1 data-diy="page">欢迎使用PublicCMS!</h1>
    <p>使用您安装过程填写的用户名密码 <a href="./admin/" target="_blank">登录后台</a></p>
    <p>您看到此页面是因为您的cms数据目录还没有index.html模板文件,在 文件-&gt;模板文件管理 中创建index.html模板</p>
    <p>根据cms工程配置,您的cms数据目录放在 <@tools.disk>${rootPath}</@tools.disk>,如果这不是您预期的路径,请修改配置文件cms.properties</p>
    <hr/>
    <h1 data-diy="page">Welcome to PublicCMS!</h1>
    <p><a href="./admin/" target="_blank">Login Management System</a> Use the username and password you entered during installation</p>
    <p>You see this page because your cms data directory does not yet have an index.html template file,Create the index.html template in File -&gt; Template management</p>
    <p>Depending on the cms project configuration, your cms data directory is placed on <@tools.disk>${rootPath}</@tools.disk>,If this is not the path you expected, modify the configuration file cms.properties</p>
    <script>
    var templatePath='${.current_template_name?keep_after('/')?keep_after('/')}';
    </script>
    <script src="${base}/resource/js/cms.support.js"></script>
    <script>
        var ca = cmsAnalytics();
        var url='${base}/api/visit/record';
        if("string" ==typeof itemString){
            url=url+"?"+itemString;
        }
        ca.setDomain("${(domain.name)!site.sitePath?keep_after('//')?keep_before('/')?keep_before(':')}");
        ca.setPath("/");
        ca.report(url);
    </script>
</body>
</html>