def METHOD_NAME(viewcode):
    """Home Page."""
    if viewcode == current_app.config.get('RERO_ILS_SEARCH_GLOBAL_VIEW_CODE'):
        return redirect(url_for(
            'rero_ils.index'
        ))
    else:
        return render_template(
            'rero_ils/frontpage.html',
            organisations=Organisation.get_all(),
            viewcode=viewcode
        )