Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
/ django-moz-header Public archive

Common header/footer templates and CSS for Django-based Mozilla sites.

Notifications You must be signed in to change notification settings

mozilla/django-moz-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

898e061 · Dec 17, 2014

History

52 Commits
Feb 28, 2011
Dec 17, 2014
Dec 8, 2010
Apr 18, 2014
Oct 3, 2011
Jan 8, 2014
Sep 19, 2011
Oct 3, 2011
Oct 18, 2011
Jan 24, 2011
Jan 11, 2012
Oct 18, 2011
Feb 28, 2011
Feb 28, 2011
Jan 24, 2011

Repository files navigation

Django-moz-header

Because {% include "http://mozilla.org/footer.html" %} would be naughty

Global header/footer templates and css shared between Django-powered sites at Mozilla.

Out of the box, you get:

  • Header/footer images, CSS set such that these image paths work if the CSS is served from media/global, both minified and not
  • Fluid width for both header and footer
  • JS that adds a hide delay on header drop downs

Requirements

  • Jinja 2.

  • A jinja |f filter, used to interpolate parameters, like so:

    'visit {0}'|f('<span>mozilla</span>')
    
  • The JS is optional, but using it requires jQuery; tested with 1.3 or later.

In Use By

The following projects are currently using this code:

Please add your project to this list if you're using django-moz-header!

About

Common header/footer templates and CSS for Django-based Mozilla sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published