Skip to content

Commit

Permalink
Merge pull request #638 from alphagov/make-unbranded-template-availab…
Browse files Browse the repository at this point in the history
…le-in-app-views

Make unbranded template available for use in app/views
  • Loading branch information
Jani Kraner authored Nov 8, 2018
2 parents ef9c635 + 430f7a7 commit 82b9837
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Bug fixes:

- [#634 Avoid double-nested buttons in step-by-step navigation](https://github.com/alphagov/govuk-prototype-kit/pull/634)

- [#638 Make unbranded template available for use in app/views](https://github.com/alphagov/govuk-prototype-kit/pull/638)

# 8.3.0

New features:
Expand Down
1 change: 1 addition & 0 deletions app/assets/sass/unbranded.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "node_modules/govuk-frontend/settings/all";
$govuk-global-styles: true;

// Override the govuk-frontend font stack
$govuk-font-family: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif;
Expand Down
21 changes: 21 additions & 0 deletions app/views/layout_unbranded.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% extends "template.njk" %}

{% block headIcons %}
<link rel="shortcut icon" href="{{ asset_path }}images/unbranded.ico?0.18.3" type="image/x-icon" />
<link rel="mask-icon" href="{{ asset_path }}images/gov.uk_logotype_crown.svg?0.18.3" color="#0b0c0c">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ asset_path }}images/apple-touch-icon-152x152.png?0.18.3">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ asset_path }}images/apple-touch-icon-120x120.png?0.18.3">
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ asset_path }}images/apple-touch-icon-76x76.png?0.18.3">
<link rel="apple-touch-icon-precomposed" href="{{ asset_path }}images/apple-touch-icon-60x60.png?0.18.3">
{% endblock %}

{% block head %}
<link href="/public/stylesheets/unbranded.css" media="all" rel="stylesheet" type="text/css">
{% endblock %}

{% block header %}{% endblock %}
{% block footer %}{% endblock %}

{% block bodyEnd %}
{% include "includes/scripts.html" %}
{% endblock %}

0 comments on commit 82b9837

Please sign in to comment.