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