From 944b2fdc621aa6dadcdca4255b6b4a4ae46be008 Mon Sep 17 00:00:00 2001 From: vas3k Date: Tue, 7 Jan 2020 19:49:14 +0100 Subject: [PATCH] Merge changes --- boards.yml | 2 +- templates/board.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards.yml b/boards.yml index c6e5390..f918cd8 100644 --- a/boards.yml +++ b/boards.yml @@ -5,7 +5,7 @@ boards: is_private: false curator: name: Технологии - title: Основные СМИ + title: Главные новости avatar: https://i.vas3k.ru/fhr.png bio: Подборка основных изданий о технологиях на русском и английском языках footer: > diff --git a/templates/board.html b/templates/board.html index 310063f..de165d5 100644 --- a/templates/board.html +++ b/templates/board.html @@ -63,9 +63,9 @@ {% if article.description or article.summary %} {% if article.summary %} - {{ article.summary|striptags|nl2br|truncatechars:300|safe }} + {{ article.summary|striptags|nl2br|truncatechars:400|safe }} {% else %} - {{ article.description|truncatechars:300 }} + {{ article.description|truncatechars:400 }} {% endif %} {% endif %}