10 lines
353 B
HTML
10 lines
353 B
HTML
{% if g.viewer %}
|
|
<p>Hello,
|
|
<img class=avatar id=avatar src="{{g.viewer.account.get_avatar()}}" alt=""/>
|
|
<span id='display-name' title='@{{g.viewer.account.screen_name}}'>{{g.viewer.account.display_name or g.viewer.account.screen_name}}</span>!
|
|
<a href="{{url_for('logout')}}">Log out</a>
|
|
</p>
|
|
{% else %}
|
|
<p>Hello, stranger!</p>
|
|
{% endif %}
|