/govuk-template

A simple library wrapping the GDS GOV.UK template

Primary LanguageHTMLApache License 2.0Apache-2.0

govuk-template

Build Status Download

Simple library wrapping the GDS GOV.UK template.

Note that currently we forked the GDS files. This solution is temporary and in future we will import the GDS artifact directly.

Using the template

In order to use the template, you have to add this line to your application routes file

->     /template                       template.Routes

Installing

Add the following to your SBT build:

resolvers += Resolver.bintrayRepo("hmrc", "releases")

libraryDependencies += "uk.gov.hmrc" %% "govuk-template" % "[INSERT-VERSION]"

License

This code is open source software licensed under the Apache 2.0 License.