summaryrefslogtreecommitdiffstats
path: root/main/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-12 18:13:11 +0100
committerDan McGee <dan@archlinux.org>2012-03-12 18:14:57 +0100
commit6ee65265a051933ee154c42490fdc509b9994202 (patch)
tree392d447be17b2667c4a4a9d9340a5513f228668c /main/utils.py
parent749b0447287332c200585c2eb7ef6c4833b815d5 (diff)
downloadarchweb-6ee65265a051933ee154c42490fdc509b9994202.tar.gz
archweb-6ee65265a051933ee154c42490fdc509b9994202.tar.xz
Show first 300 words of most recent news item on home page
And 100 words of every other news item. We might as well make the most recent item more prominent. I'm not displaying it in full only so the front page doesn't look like a blog; 95% of our news items are under 300 words. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/utils.py')
0 files changed, 0 insertions, 0 deletions