Mercurial > dive4elements > website
diff newsfeed.py @ 140:6fdb28c3872c
Only 1m after feed item.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 03 Apr 2014 16:40:54 +0200 |
parents | e17f0122ca94 |
children | e209a6446e88 |
line wrap: on
line diff
--- a/newsfeed.py Thu Apr 03 16:38:19 2014 +0200 +++ b/newsfeed.py Thu Apr 03 16:40:54 2014 +0200 @@ -43,7 +43,7 @@ postcount += 1 content = content.encode('utf8') oa("<li>") - oa('<div style="margin-bottom:2em">') + oa('<div style="margin-bottom:1em">') if len(content) >= max_length: oa(content[:(max_length-opacity75)])