Displaying the Assigned Data

As mentioned previously, the user who added the container rule to their site would also need to create a template with which to display the generated data. For the sake of completeness, here's a template you must use to output the generated weather data.

Example 4.2. Displaying sample weather data

    The weather in {$weather.location|escape} 
    on {$weather.day|escape}
    is {$weather.temp|escape}