Core

/views/layout/Page.html (348 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is the base page interface. All pages implement this interface.

{% import (
"{{{ .Package }}}/app"
"{{{ .Package }}}/app/controller/cutil"
) %}

{% interface
Page {
Head(as *app.State, ps *cutil.PageState)
Nav(as *app.State, ps *cutil.PageState)
Menu(ps *cutil.PageState)
Body(as *app.State, ps *cutil.PageState)
}
%}