blob: 00b69063f73a0b6ce4856c4393a611e41d44f249 (
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
25
26
27
|
<!DOCTYPE html>
<html>
{{ template "head.html" }}
<body>
<header>{{if ne .UpstreamUrl ""}}
<nav>
<a href="/index.html">HOME</a>
<a href="/add_recipes">add recipe</a>
<a href="{{.UpstreamUrl}}">original recipe</a>
</nav>
{{end}}
<h1>{{.Title}}</h1>
</header>
<main>
<h2>Recipe description</h2>
<a href="./recipe/edit?id={{.Id}}"><button>edit</button></a>
{{.RenderedDescriptionMarkdown}}
{{ template "footer.html" }}
</main>
</body>
</html>
|