From 3bd8fcd70ae19734e8679066fc493e7052f2d124 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 6 Jun 2019 19:40:55 +0100 Subject: [PATCH] Don't show the read more link for tweet posts --- source/_partials/blog/post-summary.html.twig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/source/_partials/blog/post-summary.html.twig b/source/_partials/blog/post-summary.html.twig index c706537c..512f6769 100644 --- a/source/_partials/blog/post-summary.html.twig +++ b/source/_partials/blog/post-summary.html.twig @@ -15,11 +15,13 @@

{{ post.excerpt }}

-
- - Read more - about '{{ post.title }}' - → - -
+ {% if not post.type == 'tweet' %} +
+ + Read more + about '{{ post.title }}' + → + +
+ {% endif %}