diff options
-rwxr-xr-x | app.py | 3 | ||||
-rwxr-xr-x | templates/index.html.j2 | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -68,9 +68,10 @@ def index(): return flask.render_template( "index.html.j2", **get_template_items("eden's site :3", db), + days_till_ffs = datetime.datetime(2025, 11, 8) - datetime.datetime.now(), markdown = parser.parse_text(f.read())[0], featured_thoughts = db.get_featured_thoughts(), - commits = db.get_cached_commits()[:10], + commits = db.get_cached_commits()[:15], sidebar_img = get_sidebar_img(db) ) diff --git a/templates/index.html.j2 b/templates/index.html.j2 index 53ca77e..d6c08d8 100755 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -1,6 +1,7 @@ {% extends "template.html.j2" %} {% block content %} <aside> + <a><i>{{ "%d days until FFS" % days_till_ffs.days }}</i></a> <section id="recent_thoughts"> <h4>recent thoughts:</h4> <ul> |