Skip to content

Commit

Permalink
Merge pull request #392 from 18F/banner-everywhere
Browse files Browse the repository at this point in the history
Puts the Official banner on everything, not just the homepage
  • Loading branch information
konklone committed Dec 2, 2014
2 parents cb587b2 + 93f2261 commit 59874a4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions _includes/flag.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<aside class="usa">
<div class="container">
<p>
An official website of the United States Government <img alt="US flag
signifying that this is a United States Federal Government website"
src="/assets/images/us_flag_small.png">
</p>
</div>
</aside>
2 changes: 2 additions & 0 deletions _layouts/bare.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
</head>
<body itemscope itemtype="http://schema.org/WebPage">

{% include flag.html %}

<section class="container bare">

<div class="bare-logo" role="banner" itemscope itemtype="http://schema.org/WPHeader">
Expand Down
2 changes: 2 additions & 0 deletions _layouts/bare_pif.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
</head>
<body itemscope itemtype="http://schema.org/WebPage">

{% include flag.html %}

<section class="container bare bare_pif">
<div class="bare-logo" role="banner" itemscope itemtype="http://schema.org/WPHeader">
<a href="/pif/">
Expand Down
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
</head>
<body itemscope itemtype="http://schema.org/WebPage">

{% include flag.html %}

<div role="main" itemscope itemprop="mainContentOfPage">
{{ content }}
</div>
Expand Down
2 changes: 2 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
</head>
<body itemscope itemtype="http://schema.org/WebPage">

{% include flag.html %}

<section class="container bare">

<div class="bare-logo" role="banner" itemscope itemtype="http://schema.org/WPHeader">
Expand Down
8 changes: 0 additions & 8 deletions pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
permalink: /
---

<aside class="usa">
<div class="container">
<p>
An official website of the United States Government <img alt="US flag signifying that this is a United States Federal Government website" src="/assets/images/us_flag_small.png">
</p>
</div>
</aside>

<section class="splash" style="" role="banner" itemscope itemtype="http://schema.org/WPHeader">
<img src="/assets/images/logo-18f.png" alt="18F logo" class="logo fadeIn" />
<h1>Building the 21st century digital government.</h1>
Expand Down

0 comments on commit 59874a4

Please sign in to comment.