Skip to content

ptwobrussell/pinax-theme-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Theme, for Pinax

A theme for Pinax based on the open source Bootstrap front-end framework.

Versions

  • Bootstrap v3.2.0
  • Font Awesome v4.1.0
  • jQuery v2.1.1

Quick Start

Include "pinax-theme-bootstrap" in your requirements file and include "pinax_theme_bootstrap" and "bootstrapform" (which is installed alongside this theme) in your INSTALLED APPS.

Add 'django.core.context_processors.request' and "pinax_theme_bootstrap.context_processors.theme" to your TEMPLATE_CONTEXT_PROCESSORS to ensure the user selector and site name work correctly.

Make sure both template loaders and staticfiles finders includes app directories.

Site name comes from Sites fixture.

Your "site_base.html" should extend "theme_bootstrap/base.html" and should provide "footer" and "nav" blocks (the latter should just be a ul of li of a links).

Your pages should have blocks "head_title" and "body" and should extend "site_base.html".

The url name "home" should be defined as the homepage.

License & Attribution

The Pinax Bootstrap theme is released under the MIT license.

This theme includes styles and scripts from the Bootstrap project, which is (since v3.1.0) released under the MIT license.

For copies of both licenses, see LICENSE.

Includes icons from Glyphicons Free, licensed under CC BY 3.0.

Includes icons from Font Awesome.

About

A theme for Pinax based on Twitter's Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

No packages published