diff --git a/app/templates/index.html b/app/templates/index.html index 5f5c73f..6a7be95 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{%- from 'govuk_frontend_jinja/components/inset-text/macro.html' import govukInsetText -%} + {% block content %}
@@ -9,6 +11,7 @@

GOV.UK Frontend Jinja

GOV.UK Frontend Jinja provides a complete set of reusable component Jinja macros, directly ported from the GOV.UK Frontend Nunjucks macros.

An automated test suite makes use of the GOV.UK Frontend test fixtures to ensure 100% compliant HTML is output. This currently covers a total of 513 test scenarios against every component, which you can see in the build status.

Every visual test fixture is rendered in the pages linked below, along with the Jinja macro options and HTML used to create them. These can be used as examples, or for visual regression testing.

+ {{ govukInsetText({'html': 'If you also need to generate forms in your Python project, check out GOV.UK Frontend WTForms which makes use of these Jinja macros.'} )}}

Components