diff options
Diffstat (limited to 'views/tag.html')
| -rw-r--r-- | views/tag.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/tag.html b/views/tag.html new file mode 100644 index 0000000..788083f --- /dev/null +++ b/views/tag.html | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | {{ define "tag" }} | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | {{ template "materialize" }} | ||
| 5 | <title>grilist</title> | ||
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | ||
| 7 | </head> | ||
| 8 | <body> | ||
| 9 | {{ template "navbar" . }} | ||
| 10 | <div class="container"> | ||
| 11 | <div class="row"> | ||
| 12 | <h2>Grils mit dem Tag "{{ .tag }}":</h2> | ||
| 13 | <div class="row"> | ||
| 14 | {{ range .cards }} | ||
| 15 | {{ template "card" . }} | ||
| 16 | {{ end }} | ||
| 17 | </div> | ||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | </body> | ||
| 21 | </html> | ||
| 22 | {{ end }} | ||
