Skip to content

init

__all__ = ['page_template'] module-attribute

page_template(route=None, title=None, image=None, description=None, meta=None, on_load=None, require_login=False, admin_only=False, additional_navbar_items=None, exclude_from_menu=False, page_scrollable=True)

The template for each page of the app.


route: The route to reach the page.
title: The title of the page.
image: The favicon of the page.
description: The description of the page.
meta: Additional meta to add to the page.
on_load: The event handler(s) called when the page loads.
require_login: Whether the page requires a Google login.
admin_only: Whether the page is only accessible to admins.
additional_navbar_items: Additional items to add to the navbar specific to the page.
exclude_from_menu: Whether to exclude the page from the menu.
page_scrollable: Whether the page should be scrollable

The template with the page content.