@ -567,12 +567,12 @@ def entry(page_t):
loc = ' diary/entries/ '
entry = prepare_diary_entry ( page , loc )
# link preview
preview_t = prepare_article ( entry [ 1 ] , loc + page )
preview = preview_t . replace ( ' <p> ' , ' ' )
preview = preview . replace ( ' </p> ' , ' ' )
preview = preview . replace ( ' <p> ' , ' ' )
preview = preview [ : 246 ] + " ... "
print ( preview )
info = { ' css ' : ' entry ' , ' title ' : entry [ 0 ] , ' year ' : find_year ( ) , ' preview ' : preview , ' entry ' : entry , ' recommends ' : list_rec ( page , loc ) , ' articles ' : " Articles " , ' latest ' : list_headlines ( gather_and_sort ( loc ) [ 0 : 5 ] , loc ) , ' tags ' : fill_word_cloud ( curate_files ( gather_files ( loc ) ) , loc ) , ' page ' : page , ' category ' : " diary " }
abs_app_dir_path = os . path . dirname ( os . path . realpath ( __file__ ) )