Skip to content

Templating v1.0.0-alpha.10

kitshn supports these three kinds of templating:

  • {{ ingredients[xyz] }} (e.g. 300g Potatoes)
  • {{ scale(xyz) }} (Multiplies value xyz according to servings)
  • {# nice comment #}

Ingredient values v2.0.0-beta.10

kitshn also supports templating for these ingredient values:

  • {{ ingredients[xyz].amount }} (e.g. 300)
  • {{ ingredients[xyz].unit }} (e.g. Grams)
  • {{ ingredients[xyz].food }} (e.g. Potatoes)
  • {{ ingredients[xyz].note }} (e.g. sliced)

Learn more about templating in Tandoor on here.