$lang]); if ($categoryId !== '') { $canonical = frontendPath(['lang' => $lang, 'category' => $categoryId]); } if ($recipe) { $recipeTitle = (string)($recipe['title'] ?? 'Recipe'); $title = "{$recipeTitle} Recipe: Ingredients, Instructions and Tips"; $description = recipeDescription($recipe); $articleTags = array_values(array_filter(array_merge([$recipeTitle, (string)($recipe['category'] ?? '')], is_array($recipe['tags'] ?? null) ? $recipe['tags'] : []))); $tagKeywords = isset($recipe['tags']) && is_array($recipe['tags']) ? implode(', ', $recipe['tags']) : ''; $keywords = trim("{$recipeTitle} recipe, how to make {$recipeTitle}, {$recipeTitle} ingredients, {$recipeTitle} instructions, {$recipe['category']} recipes" . ($tagKeywords ? ", {$tagKeywords}" : '') . ', easy recipe, step by step recipe'); $type = 'article'; $imageAlt = "{$recipeTitle} recipe photo"; $recipeImage = trim((string)($images[$recipeId] ?? $recipe['image'] ?? '')); if ($recipeImage !== '') { $image = 'og-image.php?recipe=' . rawurlencode($recipeId) . '&v=1'; } $canonical = frontendPath(['lang' => $lang, 'recipe' => $recipeId]); } $canonicalUrl = absoluteUrl($canonical, $origin); $imageUrl = absoluteUrl($image, $origin); ?> <?= h($title) ?>

Taste the World: Discover diverse cuisines worldwide at your home!

Explore More

Categories

Popular recipes