This repository has been archived on 2022-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
elon-eats-my-tweets/templates/views/base.html

19 lines
490 B
HTML
Raw Permalink Normal View History

2022-05-21 07:27:51 +00:00
<!DOCTYPE html>
<html>
<head>
2022-05-21 20:51:47 +00:00
<title>{{block "title" .}}Elon Eats My Tweets{{end}}</title>
2022-05-21 07:27:51 +00:00
</head>
<body>
2022-05-21 20:51:47 +00:00
<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" .}}
2022-05-21 07:27:51 +00:00
</body>
</html>