2017-07-31 20:49:03 +02:00
|
|
|
<h1>Forget</h1>
|
|
|
|
|
2017-07-27 01:17:28 +02:00
|
|
|
{% if g.viewer %}
|
2017-07-31 04:51:11 +02:00
|
|
|
<p>Hello,
|
2017-08-03 11:51:37 +02:00
|
|
|
<img src="{{g.viewer.account.avatar_url}}" style='height:1.5em; border-radius:100%; transform:translateY(25%);'/>
|
|
|
|
{{g.viewer.account.display_name}}!
|
2017-07-31 04:51:11 +02:00
|
|
|
<a href="{{url_for('settings')}}">Settings</a>
|
|
|
|
<a href="{{url_for('logout')}}">Log out</a>
|
|
|
|
</p>
|
2017-07-31 00:07:34 +02:00
|
|
|
|
2017-07-31 20:49:03 +02:00
|
|
|
<h2>Recent posts ({{g.viewer.account.post_count()}} total posts):</h2>
|
2017-07-31 00:07:34 +02:00
|
|
|
|
2017-07-31 04:51:11 +02:00
|
|
|
{% for post in posts %}
|
2017-08-02 01:35:09 +02:00
|
|
|
<p>{{ "♥ " if post.favourite }}{{post.body}}</p>
|
2017-07-31 04:51:11 +02:00
|
|
|
{% else %}
|
|
|
|
<p>no posts :(</p>
|
|
|
|
{% endfor %}
|
2017-07-27 20:20:59 +02:00
|
|
|
{% else %}
|
2017-07-31 04:51:11 +02:00
|
|
|
<p>Hello, stranger! <a href="/login/twitter">Log in with Twitter</a></p>
|
2017-07-25 23:05:46 +02:00
|
|
|
{% endif %}
|