diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-14 09:30:03 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-14 09:30:03 (GMT) |
commit | 91c9ab126e147b80ec5120ec4c3929d6b1ce4ddf (patch) | |
tree | 0f8020324d030ff101d9cc42946ae84e62c8c87c | |
parent | 05e696785348842aa9aeb0a6bb320e2528146358 (diff) | |
download | site-91c9ab126e147b80ec5120ec4c3929d6b1ce4ddf.tar.gz |
web/macros.py: Modify "Read more" links a bit
-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 9df603f..1f3ce68 100644 --- a/web/macros.py +++ b/web/macros.py | |||
@@ -102,7 +102,7 @@ def make_news_page(posts, current_index): | |||
102 | abstract.append('## %s' % p.title) | 102 | abstract.append('## %s' % p.title) |
103 | abstract.append('*%s*' % date) | 103 | abstract.append('*%s*' % date) |
104 | abstract.append('%s' % p.source.split(marker, 1)[0]) | 104 | abstract.append('%s' % p.source.split(marker, 1)[0]) |
105 | abstract.append('[<a href="%s">Read more</a>]' % p.url) | 105 | abstract.append('<a href="%s">Read more »</a>' % p.url) |
106 | source.append('# %s' % p.title) | 106 | source.append('# %s' % p.title) |
107 | source.append('*%s*' % date) | 107 | source.append('*%s*' % date) |
108 | source.append(p.source.replace(marker, '', 1)) | 108 | source.append(p.source.replace(marker, '', 1)) |