|
|
|
@ -140,7 +140,7 @@ def diary(page):
|
|
|
|
|
@route('/diary/entries/<page:int>')
|
|
|
|
|
def entry(page):
|
|
|
|
|
"""diary entry"""
|
|
|
|
|
info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'entry': retrieve_article(page), 'header': "More Articles", 'dates': "Dates", 'articles': "Articles", 'latest': list_headlines(sort_files(gather_files())[0:5]), 'page': page}
|
|
|
|
|
info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'entry': retrieve_article(page), 'recommends': [['title','content','anchor'],['title','content','anchor'],['title','content','anchor']], 'articles': "Articles", 'latest': list_headlines(sort_files(gather_files())[0:5]), 'page': page}
|
|
|
|
|
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
|
abs_views_path = os.path.join(abs_app_dir_path, 'views')
|
|
|
|
|
TEMPLATE_PATH.insert(0, abs_views_path )
|
|
|
|
|