From 015edbc0ea284fcdf7e5a3796d711a96036814be Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 29 Apr 2025 14:47:26 +0100 Subject: Added FFS counter --- app.py | 3 ++- templates/index.html.j2 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index d1f1134..47bb129 100755 --- a/app.py +++ b/app.py @@ -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 %}