Skip to content

Context Processors

Andy Byers edited this page Sep 12, 2017 · 1 revision

journal

Location: core.context_processors

Purpose: Adds a journal.Journal object to the template context

Tag: {{ journal }}

journal_settings

Location: core.context_processors

Purpose: Adds a language specific set of settings to the context eg. {{ journal_settings.general.a_setting_name }}

Tag: {{ journal_settings }}

press

Location: core.context_processors

Purpose: Adds a press.Press object to the template context

Tag: {{ press }}

active

Location: core.context_processors

Purpose: Used to highlight the currently active URL path in navigation menus

Tag: {{ active }}

navigation

Location: core.context_processors

Purpose: Injects the navigation into the context for use generating a navigation

Tag: {{ navigation_items }}

Wiki has moved to read the docs.

Clone this wiki locally