Skip to content

Commit

Permalink
Merge pull request #110 from alphagov/example-additional-stylesheets
Browse files Browse the repository at this point in the history
Allow for additional stylesheets per example
  • Loading branch information
36degrees authored Jan 8, 2018
2 parents fdef8ea + 20085fa commit cd4738f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions views/layouts/layout-example.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<title>{{ title }}</title>
<link href="/stylesheets/main.css" rel="stylesheet" media="all" />
<!--[if lt IE 9]><script src="/javascripts/ie.js"></script><![endif]-->

{#- Include any additional stylesheets specified in the example frontmatter #}
{% for stylesheet in stylesheets %}
<link href="{{ stylesheet }}" rel="stylesheet" media="all" />
{%- endfor %}

<script src="/javascripts/application.js"></script>
</head>
<body class="app-o-example-page">
Expand Down

0 comments on commit cd4738f

Please sign in to comment.