1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-10 21:51:00 +00:00

feat(Template): testing fs bindata

This commit is contained in:
Viktor Vassilyev
2018-11-05 22:58:59 +06:00
parent 2f00ad1602
commit 771fe35431
6 changed files with 428 additions and 0 deletions

15
testdata/views/index.tpl vendored Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>beego welcome template</title>
</head>
<body>
{{template "block"}}
{{template "header"}}
{{template "blocks/block.tpl"}}
<h2>{{ .Title }}</h2>
<p> This is SomeVar: {{ .SomeVar }}</p>
</body>
</html>