From ad5c8f0bb528e6d0da0a20f99997ce971544f4b8 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 20 Oct 2019 21:26:47 +0200 Subject: More refining on twitter cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- _layouts/default.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html index 9ae7643..bf03d37 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -27,16 +27,9 @@ {{ title }} - + {% capture description %}{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}{% endcapture %} - - - {% comment %}{% endcomment %} - - - - - + {% comment %}{% endcomment %} {% if site.lang == "ca" %} @@ -51,6 +44,13 @@ + + {% comment %}{% endcomment %} + + + + + {% render_og_image %} {% comment %}{% endcomment %} -- cgit v1.2.3