{{ define "title" }}{{ end }} {{ define "scripts" }}{{ end }} {{ define "layout" }} {{ template "title" . }} - {{ .Title }}

{{ .Title }}

Just another web blog.

{{ if .SetupNeeded }}
Your web blog needs to be set up! Please click here to configure your blog.
{{ end }} {{ range .Flashes }}
{{ . }}
{{ end }} {{ if .Error }}
Error: {{ .Error }}
{{ end }} {{ template "content" . }}

About

Hello, world!

{{ if .LoggedIn }}

Control Center

Logged in as: {{ .CurrentUser.Username }}

Manage Blog
{{ end }}

Elsewhere

{{ template "scripts" or "" }} {{ end }}