witten
/
luminotes
Archived
1
0
Fork 0

Page title now reflect the note that is on it.

This commit is contained in:
Dan Helfman 2007-11-08 20:55:45 +00:00
parent 6b548820fa
commit 32f4501e6b
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ class Main_page( Page ):
def json( string ):
return escape( unicode( Json( string ) ), quote = True )
title = None
if len( notes ) == 1:
title = notes[ 0 ].title
else:
title = None
Page.__init__(
self,
title,