Processors#
- abstract.processors.breadcrumb.breadcrumb(request)[source]#
Generate breadcrumb navigation based on the current URL path.
- Args:
request (HttpRequest): The HTTP request object.
- Returns:
- dict: A dictionary containing the breadcrumb navigation data with keys:
- ‘breadcrumb’ (list): A list of dictionaries, each representing a breadcrumb item. Each dictionary contains two keys:
‘title’ (str): The title of the breadcrumb item.
‘link’ (str): The URL link of the breadcrumb item.
- abstract.processors.page_meta.meta_processor(request)[source]#
Generate meta information for the current page based on the URL resolver.
- Args:
request (HttpRequest): The HTTP request object.
- Returns:
- dict: A dictionary containing meta information for the current page with keys:
‘page_title’ (str): The title of the current page.