18 lines
451 B
HTML
18 lines
451 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>Photo blog</title></head>
|
|
<body>
|
|
<header>
|
|
<ul>
|
|
<li><p>Home</p></li>
|
|
{{ if .Username }}
|
|
<li><p>Hello {{ .Username }}</p></li>
|
|
<li style="float: right"><a href="/logout">Logout</a></li>
|
|
{{ else }}
|
|
<li><p>You are not logged in</p></li>
|
|
<li style="float: right"><a href="/login">Login</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</header>
|
|
<main>
|