{ "info": { "author": "Information Systems Group, University Information Services, University of Cambridge", "author_email": "information-systems@ucs.cam.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "Introduction\n============\n\nThis app allows you to include the University of Cambridge's Project\nLight theme to your Django apps in a very easy way.\n\nUsage\n-----\n\nYo only need to add to your settings.py this application.\n\n.. code:: python\n\n INSTALLED_APPS = (\n ...\n 'ucamprojectlight',\n ...\n )\n\nCreate a template that extends ucamprojectlight.html and use the\ncorresponding blocks to modify the bits of the template you need. You\ncan create a global template with the global customizations for your\nproject and then extend all the templates from this global template, or\nyou can simply extend the ucamprojectlight.html template in any of your\ntemplates and apply different customizations to different blocks. It is\nworth remembering that if you are using the first option and creating a\nglobal customize template and extend this template in all your other\ntemplates, that you can modify the blocks that you modified in your\nglobal template in all the temples that extend the global one.\n\n.. code:: python\n\n {% extends 'ucamprojectlight.html' %}\n\nCustomization using blocks\n--------------------------\n\n- campl\\_block\\_head: This block rewrites the whole head tag of the\n template.\n- head\\_title: The full name of the site that will be shown in the\n browser toolbar.\n- additional\\_head: This block is reserverd to load extra css or js in\n case you are using extensions to the base Project Light app template.\n- app\\_head: If your application is using their own javascript and\n stylesheets, load them using this block.\n- campl\\_page\\_header: This block rewrites the whole page header of the\n template.\n- all\\_breadcrumbs: This block rewrites the whole breadcrumb section in\n case you do not want to include it in your app.\n- static\\_breadcrumbs: This block includes the fixed breadcrumbs of\n your application (those that will be always shown independent from\n the page/view). The default is:\n\n .. code:: html\n\n