From 7bca2b850e1be4890c9bf2c724a254d547955641 Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sat, 2 Mar 2024 19:50:45 -0600 Subject: [PATCH] meta stuff --- src/index.py | 1 + src/views/header.tpl | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/index.py b/src/index.py index 2a9577d..728e32d 100644 --- a/src/index.py +++ b/src/index.py @@ -571,6 +571,7 @@ def entry(page_t): preview = preview_t.replace('

','') preview = preview.replace('

','') preview = preview.replace('<p>','') + preview = preview[:246] + " ..." print(preview) info = {'css': 'entry', 'title': entry[0], 'year': find_year(), 'preview': preview, 'entry': entry, 'recommends': list_rec(page, loc), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'page': page, 'category': "diary"} diff --git a/src/views/header.tpl b/src/views/header.tpl index 1c7f156..d8dde63 100644 --- a/src/views/header.tpl +++ b/src/views/header.tpl @@ -1,9 +1,15 @@ {{title or 'blessfrey.me'}} - + + + + + + +