go-sample-webpage/templates/layout.tmpl
2021-11-04 03:04:05 +01:00

25 lines
No EOL
664 B
Cheetah

<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Layout</title>
<link href="/static/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3">
<ul>
<li><a href="/register">Register</a></li>
<li><a href="/login">Login</a></li>
<li><a href="/me">Me</a></li>
<li><a href="/logout">Logout</a></li>
</ul>
</div>
<div class="col-md-9"> {{ yield }}</div>
</div>
</div>
</body>
</html>