View global as 'anonymous' if not logged in
This commit is contained in:
parent
45f635fd8b
commit
a85b5f408d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ def global_timeline():
|
|||
else: logged_in = accounts.get_display_name(session['username'])
|
||||
return render_template('global.html',
|
||||
title="Global Timeline",
|
||||
logged_in=logged_in,
|
||||
logged_in=logged_in if logged_in else "anonymous",
|
||||
posts=timeline.global_timeline(),
|
||||
theme=accounts.get_theme(logged_in))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue