From 51b5e2c63cf54cdf7433cb957094250cce24fc5b Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sun, 4 Oct 2020 21:03:43 -0500 Subject: [PATCH] added tweet share to each article (generates an ugly tweet with html code in it) --- src/index.py | 1 - src/views/diary.tpl | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.py b/src/index.py index cf3e1c3..af972ed 100644 --- a/src/index.py +++ b/src/index.py @@ -43,7 +43,6 @@ def list_snippets(articles): content += '' a.append(content) a.append(text[head + 1].replace('
','')) - a.append("social") a.append(path) result.append(a) return result diff --git a/src/views/diary.tpl b/src/views/diary.tpl index 7de2e63..3c18d9f 100644 --- a/src/views/diary.tpl +++ b/src/views/diary.tpl @@ -69,16 +69,17 @@ % for s in snippets[page * limit:page * limit + limit]:
{{!s[1]}}
- {{!s[2]}} • {{!s[3]}} + {{!s[2]}} • +
% end