{% extends "layout.html" %} {% block pageTitle %} Pass data into a page – GOV.UK Protyotype Kit {% endblock %} {% block beforeContent %} {% include "includes/breadcrumb_examples.html" %} {% endblock %} {% block content %}

Pass data into a page

The example route defined in /docs/documentation_routes.js is passing the string '{{ name }}' to this page, via the variable called 'name'.

Have a look at the source for this page in your text editor to see how it works: /docs/views/examples/template-data.html

{% endblock %}