From d0d10ab1c7179ab15a440f711909765140436851 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 24 Mar 2026 14:52:24 +0000 Subject: Changed the FFS counter from 'until' to 'since' --- edaweb/app.py | 3 ++- edaweb/static/images/sally1.jpg | Bin 0 -> 16356 bytes edaweb/static/images/sally2.jpg | Bin 0 -> 15731 bytes edaweb/static/index.md | 2 +- edaweb/templates/discord.html.j2 | 2 +- edaweb/templates/index.html.j2 | 6 +++--- 6 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 edaweb/static/images/sally1.jpg create mode 100644 edaweb/static/images/sally2.jpg (limited to 'edaweb') diff --git a/edaweb/app.py b/edaweb/app.py index a7a0b1a..ab2aa0c 100644 --- a/edaweb/app.py +++ b/edaweb/app.py @@ -27,6 +27,7 @@ def get_pfp_img(db:database.Database): if len(shown_images) == len(dbimg): shown_images = set() folder = set(dbimg).difference(shown_images) + print(folder) choice = random.choice(list(folder)) shown_images.add(choice) return choice @@ -68,7 +69,7 @@ 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(), + days_since_ffs = datetime.datetime.now() - datetime.datetime(2025, 11, 8), markdown = parser.parse_text(f.read())[0], featured_thoughts = db.get_featured_thoughts(), commits = services.get_recent_commits(db)[:15], diff --git a/edaweb/static/images/sally1.jpg b/edaweb/static/images/sally1.jpg new file mode 100644 index 0000000..baf8670 Binary files /dev/null and b/edaweb/static/images/sally1.jpg differ diff --git a/edaweb/static/images/sally2.jpg b/edaweb/static/images/sally2.jpg new file mode 100644 index 0000000..537d5a9 Binary files /dev/null and b/edaweb/static/images/sally2.jpg differ diff --git a/edaweb/static/index.md b/edaweb/static/index.md index 6259ba6..35b6156 100644 --- a/edaweb/static/index.md +++ b/edaweb/static/index.md @@ -1,6 +1,6 @@ site now also avaliable under the domain [boymoder.blog](https://boymoder.blog)! -![yaoi](/img/shun-hashimoto-mio-chibana.gif) + ## haiiiiiii my name is eden and im a 23yo (boymoder/[fujoshi](https://www.urbandictionary.com/define.php?term=fujoshi)) computer science/robotics PhD student. i made my own website to encourage others to do so too. diff --git a/edaweb/templates/discord.html.j2 b/edaweb/templates/discord.html.j2 index 597fb4b..e946f13 100644 --- a/edaweb/templates/discord.html.j2 +++ b/edaweb/templates/discord.html.j2 @@ -1,5 +1,5 @@ {% extends "template.html.j2" %} {% block content %}

You can contact me on discord (telegram preferred):

-

{{discord}}

+

{{ discord }}

{% endblock %} \ No newline at end of file diff --git a/edaweb/templates/index.html.j2 b/edaweb/templates/index.html.j2 index d6c08d8..0f9ce37 100644 --- a/edaweb/templates/index.html.j2 +++ b/edaweb/templates/index.html.j2 @@ -1,16 +1,16 @@ {% extends "template.html.j2" %} {% block content %} {{markdown|safe}}
-- cgit v1.2.3