diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/macros.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/macros.py b/web/macros.py index 3de4f30..f446378 100644 --- a/web/macros.py +++ b/web/macros.py | |||
@@ -111,7 +111,7 @@ def make_news_page(posts, current_index): | |||
111 | date = time.strftime('%A, %B %-e, %Y', timestamp) | 111 | date = time.strftime('%A, %B %-e, %Y', timestamp) |
112 | teaser.append('## %s' % p.title) | 112 | teaser.append('## %s' % p.title) |
113 | teaser.append('*%s*' % date) | 113 | teaser.append('*%s*' % date) |
114 | teaser.append('%s' % p.source.split(marker, 1)[0]) | 114 | teaser.append('%s' % p.source.split(marker, 1)[0].rstrip()) |
115 | teaser.append('<a href="%s">Read more »</a>' % p.url) | 115 | teaser.append('<a href="%s">Read more »</a>' % p.url) |
116 | source.append('# %s' % p.title) | 116 | source.append('# %s' % p.title) |
117 | source.append('*%s*' % date) | 117 | source.append('*%s*' % date) |