page页面


默page.htm是默认的单页页面,这个页面也是可以通过后台设置单独的模板的,默认内容如下

<!doctype html>
<html lang="zh-cn">

<head>
    {{template "header.html" .}}
</head>

<body>
    {{template "nav.html" .}}

    {{template "bread.html" .}}


    <div class="container container_clear pd-10">
        <div class="col-md-12">
            <div class="bk-white">
                <div class="pd-10">
                    
                        <header>
                            <h1 class="text-center">{{.title}}</h1>
                        </header>
                        <hr>
                        {{.one.Content|Str2Html}}
                        
                    </article>

                </div>
            </div>
        </div>
    </div>




    {{template "footer.html" .}}
    {{template "js.html" .}}
</body>

</html>