From 6c7227a244f0dfa09b27853d7287b99eace70004 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 13 Dec 2023 20:20:47 -0800 Subject: [PATCH] chore: update social image spacing --- src/social-preview.liquid | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/social-preview.liquid b/src/social-preview.liquid index 239ee60d..fdd5acb5 100644 --- a/src/social-preview.liquid +++ b/src/social-preview.liquid @@ -9,7 +9,7 @@ eleventyExcludeFromCollections: true - {% assign titleInLines = preview.data.title | splitlines: 36 %} + {% assign titleInLines = preview.data.title | splitlines: 40 %} {% assign numberOfLines = titleInLines.length %} {% if numberOfLines == 2 %} {% assign verticalStartingPoint = 250 %} @@ -32,7 +32,7 @@ eleventyExcludeFromCollections: true font-weight="bold" fill="#fff" > - + {{ preview.date | dateToReadableDate}} @@ -47,7 +47,7 @@ eleventyExcludeFromCollections: true > {% for line in titleInLines %} {% capture spacing %}{{ forloop.index0 | times: 50 }}{% endcapture %} - + {{ line }} {% endfor %} @@ -60,6 +60,6 @@ eleventyExcludeFromCollections: true font-weight="bold" fill="#fff" > - {{ meta.siteName }} • {{ meta.url | replace: "https://", "" | replace: "http://", "" }} + {{ meta.siteName }} • {{ meta.url | replace: "https://", "" | replace: "http://", "" }} \ No newline at end of file