// Main functions for Tera templates - INITIAL VERSION // Format a greeting with the current version fn greet(name) { return `Hello, ${name}! Welcome to our website.`; } // Format a product display with basic formatting fn format_product(name, price, discount) { // Use the calculate_price function from utils let final_price = calculate_price(price, discount); return `${name} - Price: $${price}, Discounted: $${final_price}`; } // Format a list of items as HTML fn format_list_items(items) { let result = "