Skip to content
Myr

use or to complete the either statement

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by jaydarius · committed by jaydarius · parent 1dda032 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/tutorial/templates.rst+1 added-1 removed
71 unmodified lines
72 </section>7374:data:`g` is automatically available in templates. Based on if75``g.user`` is set (from ``load_logged_in_user``), either the username76and a log out link are displayed, otherwise links to register and log in76and a log out link are displayed, or links to register and log in77are displayed. :func:`url_for` is also automatically available, and is78used to generate URLs to views instead of writing them out manually.7980After the page title, and before the content, the template loops over
107 unmodified lines