Skip to content

Chapter Base Template Guide

pcsforeducation edited this page May 3, 2012 · 5 revisions

Blocks:

  • title - Sits inside a title tag. Defaults to "Dive Into Python".
  • description - Page description meta tag. Defaults to "Python from novice to pro".
  • keywords - Page keywords meta tag. Defaults to "Python, Dive Into Python, tutorial, object-oriented, programming, documentation, book, free".
  • rel_nav - All the <link rel="... tags. Should include rel="home", rel="up" rel="prev" rel="next"
  • end_head - Extra things to add to the end of the head block. Defaults to empty.
  • breadcrumbs - Breadcrumbs navigation section
  • body - All the rest.

Variables:

  • support_email - Email support for site.
  • site_url - Domain name that site is hosted on. Prepended on all relative URLs.

Includes:

  • google_analytics.html - Google analytics code
  • google_search.html - Search box

Clone this wiki locally