()
return render_template(
        'landing.html',
        new_projects=new_projects,
        top_networks=stats.top_networks(limit=10),
        total_networks=stats.total_networks(),
        total_users=stats.total_users()
    )
Show a landing page giving a short intro blurb to unregistered users
    and very basic metrics such as total users.
Show a landing page giving a short intro blurb to unregistered users
    and very basic metrics such as total users.
Show a landing page giving a short intro blurb to unregistered users and very basic metrics such as total users .
def landing():
    """
    Show a landing page giving a short intro blurb to unregistered users
    and very basic metrics such as total users.
    """
    # Find the 10 latest public projects.
    new_projects = (
        Project.visible(Project.query, user=g.user)
        .order_by(False)
        .order_by(Project.created.desc())
    ).paginate(1, 10, False)

    return render_template(
        'landing.html',
        new_projects=new_projects,
        top_networks=stats.top_networks(limit=10),
        total_networks=stats.total_networks(),
        total_users=stats.total_users()
    )
def landing ( ) : # Find the 10 latest public projects. new_projects = ( Project . visible ( Project . query , user = g . user ) . order_by ( False ) . order_by ( Project . created . desc ( ) ) ) . paginate ( 1 , 10 , False ) return render_template ( 'landing.html' , new_projects = new_projects , top_networks = stats . top_networks ( limit = 10 ) , total_networks = stats . total_networks ( ) , total_users = stats . total_users ( ) )