summaryrefslogtreecommitdiff
path: root/data/templates/recipe.html
blob: 972a8bfe6385de1dc6378528b4ddf68c4b925561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>

<html>

	{{ template "head.html" }}

	<body>

		<header>
			<nav>
				<a href="/index.html">HOME</a>
				<a href="/add_recipes">add recipe</a>
			</nav>
			<h1>{{.Title}}</h1>
		</header>

		<main>
			{{.Html}}
			<a href="./recipe/edit?id={{.Id}}"><button>edit</button></a>

			{{ template "footer.html" }}
		</main>
	</body>
</html>