Skip to content

Commit

Permalink
Merge pull request #183 from deptofdefense/remove-header
Browse files Browse the repository at this point in the history
Remove hacky header code
  • Loading branch information
arichiv-usds authored Mar 22, 2018
2 parents f26ed04 + 656afde commit 6223266
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/18F/uswds-jekyll.git
revision: feae6a47126a705876a48fad8775d5ca9a46fa33
revision: 21fa897ceee0e130a3b7f50ea8056b26e3347ef7
specs:
uswds-jekyll (4.1.0)
jekyll (~> 3.4)
Expand Down
2 changes: 2 additions & 0 deletions _data/header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ type: extended

secondary:
links: top

government_tld: .mil
5 changes: 0 additions & 5 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@

(function() {

// This is super fragile, but otherwise the header reads like we're
// less official: "The .gov means it's official."
var govBanner = document.querySelector('.usa-banner-guidance-gov strong');
govBanner.innerText = govBanner.innerText.replace(/\.gov/, '.mil');

/**
* Finds nodes based on the given selector, starting from the provided root
* node (or the document). The nodes are returned in a real Array versus a
Expand Down

0 comments on commit 6223266

Please sign in to comment.