mirror of
https://github.com/foolin/goview.git
synced 2025-09-26 19:01:15 +08:00
14 lines
293 B
HTML
14 lines
293 B
HTML
{{define "head"}}
|
|
<style>
|
|
.hello{ color: red;}
|
|
hr{ border: 1px #ccc dashed;}
|
|
</style>
|
|
{{end}}
|
|
|
|
|
|
{{define "content"}}
|
|
<h1 class="hello">This is content!!!!</h1>
|
|
<p>123 + 333 = {{call $.add 123 333}}</p>
|
|
<hr>
|
|
<p><a href="/page">Page render</a></p>
|
|
{{end}} |