pyc-website
main website for pyc inc.
git clone https://9o.is/git/pyc-website.git
commit 378eff75e8e591bff3d405c1f59f28d653206c69 parent 8909ad730360cb1e0925c0cd9a0c03e1d7d0871f Author: Jul <jul@9o.is> Date: Mon, 21 Jul 2014 23:15:03 -0400 added ... to cut email teaser Diffstat:
| M | src/main/scala/inc/pyc/lib/HtmlEmail.scala | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/scala/inc/pyc/lib/HtmlEmail.scala b/src/main/scala/inc/pyc/lib/HtmlEmail.scala @@ -49,7 +49,7 @@ object HtmlEmail { subtitle: String, body: NodeSeq): Box[NodeSeq] = { - create(body.text.take(80), title, subtitle, + create(body.text.take(80)+"...", title, subtitle, <span> <br/> {body}