forget-cancellare-vecchi-toot/templates/index.html

14 lines
376 B
HTML
Raw Normal View History

{% if g.viewer %}
2017-07-27 00:35:53 +02:00
<p>Hello,
<img src="{{g.viewer.account.remote_avatar_url}}"/>
{{g.viewer.account.remote_display_name}}! <a href="/logout">Log out</a></p>
2017-07-27 20:20:59 +02:00
<p>your posts:</p>
{% for post in g.viewer.account.posts %}
<p>{{post.body}}</p>
{% else %}
<p>no posts :(</p>
{% endfor %}
{% else %}
2017-07-26 11:11:54 +02:00
<p>Hello, stranger! <a href="/login/twitter">Log in with Twitter</a></p>
{% endif %}