From e4aa7dc89e49163a9749526370e64559c16c3829 Mon Sep 17 00:00:00 2001 From: Pat Mellon Date: Tue, 1 Sep 2020 14:52:43 -0400 Subject: [PATCH] Truncate hub card titles and summaries --- _includes/hub_cards.html | 4 ++-- hub/hub.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/hub_cards.html b/_includes/hub_cards.html index 0bdfd0ea34e1..5d4921440415 100644 --- a/_includes/hub_cards.html +++ b/_includes/hub_cards.html @@ -9,7 +9,7 @@
    -
  • {{ item.title }}
  • +
  • {{ item.title | truncate: 25 }}
  • @@ -19,7 +19,7 @@
-

{{ item.summary }}

+

{{ item.summary | truncate: 150 }}

diff --git a/hub/hub.html b/hub/hub.html index 8aefa07d442b..90550f381aef 100644 --- a/hub/hub.html +++ b/hub/hub.html @@ -51,7 +51,7 @@

Explore and extend models
from the latest
    -
  • {{ item.title }}
  • +
  • {{ item.title | truncate: 25 }}
  • @@ -61,7 +61,7 @@

    Explore and extend models
    from the latest

-

{{ item.summary }}

+

{{ item.summary | truncate: 150 }}