guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: website: main: Summarize news entries a bit more.


From: Ludovic Courtès
Subject: 02/05: website: main: Summarize news entries a bit more.
Date: Thu, 14 May 2015 12:09:42 +0000

civodul pushed a commit to branch master
in repository guix-artwork.

commit e0d8440a06bc8f02a3e967feb41ebdfa6dd46cf8
Author: Ludovic Courtès <address@hidden>
Date:   Thu May 14 12:01:47 2015 +0200

    website: main: Summarize news entries a bit more.
    
    * website/www.scm (news-entry->sxml): Summarize to 170 chars.
---
 website/www.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/website/www.scm b/website/www.scm
index fb1fbc6..e271a90 100644
--- a/website/www.scm
+++ b/website/www.scm
@@ -102,7 +102,7 @@ character."
          ,(date->string (news-entry-date entry) "~B ~e, ~Y"))
       (p (@ (class "news-summary"))
          ,(summarize-string (sxml->string* (news-entry-content entry))
-                            230)
+                            170)
          "…")))
 
 (define (main-page)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]