summaryrefslogtreecommitdiffstats
path: root/web/macros.py
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-10-14 09:30:03 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-10-14 09:30:03 (GMT)
commit91c9ab126e147b80ec5120ec4c3929d6b1ce4ddf (patch)
tree0f8020324d030ff101d9cc42946ae84e62c8c87c /web/macros.py
parent05e696785348842aa9aeb0a6bb320e2528146358 (diff)
downloadsite-91c9ab126e147b80ec5120ec4c3929d6b1ce4ddf.tar.gz
web/macros.py: Modify "Read more" links a bit
Diffstat (limited to 'web/macros.py')
-rw-r--r--web/macros.py2
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&nbsp;more&nbsp;&raquo;</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))