From 22bf539b4ad65875467d4714283e3d4eee91191f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 Nov 2020 18:13:33 +0000 Subject: [PATCH] No news flag --- epicyon-blog.css | 2 +- posts.py | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/epicyon-blog.css b/epicyon-blog.css index ebd936173..5adc38984 100644 --- a/epicyon-blog.css +++ b/epicyon-blog.css @@ -81,7 +81,7 @@ body, html { a, u { color: var(--main-fg-color); } - + a:visited{ color: var(--main-visited-color); background: var(--link-bg-color); diff --git a/posts.py b/posts.py index 55dcaa912..530d5005e 100644 --- a/posts.py +++ b/posts.py @@ -580,13 +580,6 @@ def savePostToBox(baseDir: str, httpPrefix: str, postId: str, postJsonObject['object']['id'] = postId postJsonObject['object']['atomUri'] = postId - # for blog posts set the news flag - if postId and postJsonObject['object'].get('type'): - if boxname == 'tlblogs' and \ - postJsonObject['object']['type'] == 'Article': - if '://' + originalDomain + '/' in postId: - postJsonObject['news'] = True - boxDir = createPersonDir(nickname, domain, baseDir, boxname) filename = boxDir + '/' + postId.replace('/', '#') + '.json'