module documentation

Define the home view and a maintenance view.

Function add_publications_to_context Add the publications stored in a YAML file to the context.
Function index Return the landing page HTML.
Function maintenance Redirect to maintenance page when lyprox.settings.MAINTENANCE is True.
Variable logger Undocumented
def add_publications_to_context(context):

Add the publications stored in a YAML file to the context.

Parameters
context:Dict[str, Any]Undocumented
Returns
Dict[str, Any]Undocumented
def index(request):

Return the landing page HTML.

This adds the installed apps to the context where the add_to_navbar attribute is set to True.

It also adds the publications stored in a YAML file to the context.

def maintenance(request):

Redirect to maintenance page when lyprox.settings.MAINTENANCE is True.

logger =

Undocumented