{% code type UserPage struct { ID *uint Username string Path string IsAdmin bool } %} {% func (p *UserPage) Title() %}Login{% endfunc %} {% func (p *UserPage) Content() %}

Initial Setup

{% if p.ID != nil %} {% endif %}
{% if p.ID == nil %}
{% endif %}
{% endfunc %} {% func (p *UserPage) Script() %} {% endfunc %}