diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.html | 21 | ||||
-rw-r--r-- | templates/recipe-list.html | 7 |
2 files changed, 28 insertions, 0 deletions
diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..36da806 --- /dev/null +++ b/templates/main.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="fr"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>$title$</title> + <link rel="stylesheet" href="/design/main.css" /> + </head> + <body> + <a href="/" class="header"> + Recettes + </a> + <div id="content"> + $if(hideTitle)$ + $else$ + <h1>$title$</h1> + $endif$ + $body$ + </div> + </body> +</html> diff --git a/templates/recipe-list.html b/templates/recipe-list.html new file mode 100644 index 0000000..372a2e8 --- /dev/null +++ b/templates/recipe-list.html @@ -0,0 +1,7 @@ +<ul> + $for(recipes)$ + <li> + <a href="$url$">$title$</a> + </li> + $endfor$ +</ul> |