{{define "header"}}
<style>
body{
widith:100%;
height:100%;
border:none;
}
h1 {
color: red;
text-align:center;
}
.bodydiv{
widith:100%;
height:100%;
text-align:center;
font-size:14px;
color:#0f0;
}
.sidebar{
widith:100%;
height:100%;
text-align:center;
font-size:14px;
color:#000;
}
</style>
{{end}}
{{ define "content" }}
<h1>
内容部分AAAAAAA
</h1>
{{end}}
{{define "jsfile"}}
<script type="text/java script">
//页面的初始化
$(document).ready(function() {
console.log('页面的初始化')
});
console.log('这是JS文件')
</script>
{{end}}
{{define "sidebar"}}
版权的使用期:2017-12-12~2027-12-12
{{end}}