A tour of the templates: Difference between revisions

imported>Paulproteus
imported>Paulproteus
Line 26:
* '''title''': If you want your page to have a custom HTML TITLE, override the title block. It gets wrapped inside the '''whole_title''' block.
* '''js_in_head''': You can override this if your page needs to add JavaScript tags to the <head> section of the HTML document. Use sparingly, as putting JavaScript here will cause the browser to wait for the script to load before rendering the document.
* '''css''': If you want to add custom CSS, you can add it by extending this block. Be sure to call <pre>{{ block.super }}</pre> at the top if you do that, or else you'll accidentally erase a bunch of main site CSS.
 
=== Generally useful template blocks for the <body> ===
Anonymous user