From f5e8bc550a14a110df94d3d04cd212780bdc6146 Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sat, 2 Mar 2024 20:00:01 -0600 Subject: [PATCH] wrong link --- src/diary/entries/240302 | 2 +- src/index.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/diary/entries/240302 b/src/diary/entries/240302 index d542e6e..86b6aae 100644 --- a/src/diary/entries/240302 +++ b/src/diary/entries/240302 @@ -39,7 +39,7 @@

In the finished version, dogs rain down upon Elwell's animal shelter to direct his attention upward, where he will meet the source of the dogs.

- + (image: Dialog)

Here's an example of some dialog between Elwell and his boss. For my first serious attempt at dialog, it came out smooth enough.

diff --git a/src/index.py b/src/index.py index 728e32d..14a2949 100644 --- a/src/index.py +++ b/src/index.py @@ -567,12 +567,12 @@ def entry(page_t): loc = 'diary/entries/' entry = prepare_diary_entry(page, loc) + # link preview preview_t = prepare_article(entry[1], loc + page) 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"} abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))