<!DOCTYPE html> <html> <head> <title>{{block "title" .}}Elon Eats My Tweets{{end}}</title> </head> <body> <h1>Elon eats my tweets</h1> {{if not .CurrentUser.IsNil}} <p> Logged in as @{{.CurrentUser.TwitterUsername}} <form id="logout_form" action="/logout" method="post"></form> <a href="/logout" onclick="document.getElementById('logout_form').submit(); return false;">Log out</a> </p> {{end}} {{template "content" .}} </body> </html>