This adds a pattern for creating pages that require authentication. The settings page is currently empty, but it's helpful to figure out how to do this pattern.
8 lines
152 B
HTML
8 lines
152 B
HTML
{{template "authenticated.html" .}}
|
|
|
|
{{define "title"}}Dash{{end}}
|
|
{{define "style"}}
|
|
{{end}}
|
|
{{define "content"}}
|
|
<p>Imagine settings here</p>
|
|
{{end}}
|