diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2026-03-24 14:52:24 +0000 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2026-03-24 14:52:24 +0000 |
| commit | d0d10ab1c7179ab15a440f711909765140436851 (patch) | |
| tree | 7c816a3cdc23711cf58e501843836e78a28f16c0 | |
| parent | 55a069d1de00d5cceb8a6e6978ef2e30bc434fe1 (diff) | |
| download | boymoder.blog-d0d10ab1c7179ab15a440f711909765140436851.tar.gz boymoder.blog-d0d10ab1c7179ab15a440f711909765140436851.zip | |
Changed the FFS counter from 'until' to 'since'
| -rw-r--r-- | edaweb/app.py | 3 | ||||
| -rw-r--r-- | edaweb/static/images/sally1.jpg | bin | 0 -> 16356 bytes | |||
| -rw-r--r-- | edaweb/static/images/sally2.jpg | bin | 0 -> 15731 bytes | |||
| -rw-r--r-- | edaweb/static/index.md | 2 | ||||
| -rw-r--r-- | edaweb/templates/discord.html.j2 | 2 | ||||
| -rw-r--r-- | edaweb/templates/index.html.j2 | 6 |
6 files changed, 7 insertions, 6 deletions
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 Binary files differnew file mode 100644 index 0000000..baf8670 --- /dev/null +++ b/edaweb/static/images/sally1.jpg diff --git a/edaweb/static/images/sally2.jpg b/edaweb/static/images/sally2.jpg Binary files differnew file mode 100644 index 0000000..537d5a9 --- /dev/null +++ b/edaweb/static/images/sally2.jpg 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)!
-
+<!--  -->
## 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 %} <p>You can contact me on discord (telegram preferred):</p> - <h1>{{discord}}</h1> + <h1>{{ discord }}</h1> {% 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 %} <aside> - <a><i>{{ "%d days until FFS" % days_till_ffs.days }}</i></a> + <a><i>{{ "%d days since FFS" % days_since_ffs.days }}</i></a> <section id="recent_thoughts"> - <h4>recent thoughts:</h4> + <h4>recent blog posts:</h4> <ul> {% for id_, title in featured_thoughts %} <li><a href="{{'/thought?id=%i' % id_}}">{{title}}</a></li> {% endfor %} </ul> </section> - <img id="sidebar_img" alt="{{sidebar_img[0]}}" src="{{sidebar_img[1]}}"> + {# <img id="sidebar_img" alt="{{sidebar_img[0]}}" src="{{sidebar_img[1]}}"> #} </aside> {{markdown|safe}} <section id="recent_commits"> |
