aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapp.py3
-rwxr-xr-xtemplates/index.html.j21
2 files changed, 3 insertions, 1 deletions
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 %}
<aside>
+ <a><i>{{ "%d days until FFS" % days_till_ffs.days }}</i></a>
<section id="recent_thoughts">
<h4>recent thoughts:</h4>
<ul>