Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSS ¶
func CSS() string
CSS returns the minified CSS that will be embedded into the page template.
func ContentSecurityPolicy ¶
func ContentSecurityPolicy() string
ContentSecurityPolicy returns the Content-Security-Policy header value to make the Template() operate correctly.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy.
Types ¶
type IdentityProvider ¶
type PageData ¶
type PageData struct {
IdentityProviders []IdentityProvider
}
PageData represents the inputs to the template.
Click to show internal directories.
Click to hide internal directories.