Core

/views/layout/Basic.html (500 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
{% import (
"{{{ .Package }}}/app"
"{{{ .Package }}}/app/controller/cutil"
) %}

{% code
type Basic struct {}
var _ Page = (*Basic)(nil)
%}
{% func (p *Basic) Head(as *app.State, ps *cutil.PageState) %}{%= Head(as, ps) %}{% endfunc %}
{% func (p *Basic) Nav(as *app.State, ps *cutil.PageState) %}{%= Nav(as, ps) %}{% endfunc %}
{% func (p *Basic) Menu(ps *cutil.PageState) %}{%= Menu(ps) %}{% endfunc %}
{% func (p *Basic) Body(as *app.State, ps *cutil.PageState) %}default body{% endfunc %}