X-Git-Url: http://git.tremily.us/?p=cookbook.git;a=blobdiff_plain;f=example%2Fdata%2Ftemplate%2Fcookbook%2Frecipe.html;fp=example%2Fdata%2Ftemplate%2Fcookbook%2Frecipe.html;h=0000000000000000000000000000000000000000;hp=eb0f5e4445eb3f82d709b6ab11bb4c9d326726de;hb=54ef55b5be084b7039fcc40ef4d09f2ff7424aac;hpb=bfc63a763ae32e0bf25c7087a85fb329ab3f1630 diff --git a/example/data/template/cookbook/recipe.html b/example/data/template/cookbook/recipe.html deleted file mode 100644 index eb0f5e4..0000000 --- a/example/data/template/cookbook/recipe.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "cookbook/base.html" %} - -{% block content %} -

{{ recipe.name }}

- -{% block metadata %} - - -{% if recipe.source or recipe.url %} - -{% endif %} -{% if recipe.x_yield %} - -{% endif %} -{% if recipe.tags.all %} - - - -{% endif %} -
Author{{ recipe.author|default:"unknown" }}
Source{{ recipe.source|default:recipe.url }}
Yield{{ recipe.x_yield }}
Tags -{% for tag in recipe.tags.all %} - {{ tag }} -{% endfor %} -
-{% endblock %} - -{% block ingredients %} -

Ingredients

- -{% for ingredient_block in recipe.ingredientblock_set.all %} -
-

{{ ingredient_block.name }}

- -{% if ingredient_block.directions %} -

Directions

- -
-{{ ingredient_block.directions|safe }} -
-{% endif %} - -
-{% endfor %} -{% endblock %} - -{% block directions %} -

Directions

- -
-{{ recipe.directions|safe }} -
-{% endblock %} - -{% endblock %}