# take articles between 0-4, 5-8, 9-13,...) based on current page
# for each one of those articles,
# snip_article(article)
limit=4
limit=4
total=len(articles)
total=len(articles)
head=count_lines('entries/raw/res/head.txt')
head=count_lines('entries/raw/res/head.txt')
@ -99,7 +108,7 @@ def error404(error):
@route('/')
@route('/')
defindex():
defindex():
"""home page"""
"""home page"""
info={'css':'index','news':'News goes here','title':'chimchooree\'s dev space - blessfrey','year':datetime.datetime.now()}
info={'css':'index','news':list_headlines(sort_files(gather_files())[0:10]),'title':'chimchooree\'s dev space - blessfrey','year':datetime.datetime.now()}