Skip to content
Permalink
a71d10e3ec
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
31 lines (29 sloc) 670 Bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home Page</title>
<meta name="description" content="form to add new books">
<meta name="author" content="Mark Tyers">
<link href="{{host}}/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<header>
<h1>Home</h1>
{{#if authorised}}
<a href="/logout">Log out</a>
{{else}}
<a href="/login">Log in</a>
{{/if}}
</header>
{{#if msg}}
<p class="msg">{{msg}}</p>
{{/if}}
<main>
<p>This is the home page. Users can see it without logging in.</p>
{{#if authorised}}
<p><a href="/secure">secure page</a></p>
{{/if}}
</main>
</body>
</html>