{% import "source.toby3d.me/website/indieauth/internal/domain" %} {% code type AuthPage struct { BaseOf Client *domain.Client Me *domain.Me RedirectURI *domain.URL CodeChallengeMethod domain.CodeChallengeMethod ResponseType domain.ResponseType Scope domain.Scopes CodeChallenge string CSRF string State string } %} {% func (p *AuthPage) Lang() %} en {% endfunc %} {% func (p *AuthPage) Title() %} Authorize {%s p.Client.Name[0] %} {% endfunc %} {% func (p *AuthPage) Head() %} {% endfunc %} {% func (p *AuthPage) Body() %} {% if p.Client.Logo[0] != nil %} {% endif %}