Skip to content

Commit

Permalink
Integrate home.html.jinja2 with base.html.jinja2
Browse files Browse the repository at this point in the history
Make home.html.jinja2 extend base.html.jinja2, as other site pages do.

This removes duplication of, for example, the Google Analytics tracking code
which should be on every page so is in base.html.jinja2.

The <html lang="en" and the various favicons and apple-touch-icons etc move
into base.html.jinja2, so now every page has them.
  • Loading branch information
seanh committed Nov 26, 2015
1 parent 71898fd commit fa7a7a2
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 316 deletions.
2 changes: 1 addition & 1 deletion h/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ site_css:
depends:
- h:static/styles/*.scss

# the H website front page (separate assets from the rest of the site for now)
# Assets needed for the H website front page only.
front_page_js:
contents:
- jquery
Expand Down
Loading

0 comments on commit fa7a7a2

Please sign in to comment.