Back link examples
-
# default
-
# inverse
-
# classes
-
# html as text
{ "text": "<b>Home</b>" }{% from "govuk/components/back-link/macro.njk" import govukBackLink %} {{ govukBackLink({ "text": "<b>Home</b>" }) }} -
# html
-
# with custom text and link
{ "href": "/home", "text": "Back to home" }{% from "govuk/components/back-link/macro.njk" import govukBackLink %} {{ govukBackLink({ "href": "/home", "text": "Back to home" }) }} -
# attributes