Fix broken parentheses for page OGraph inclusion logic

- Parentheses are not valid in Liquid, so you have to figure it out by the fact that operators are evaluated from 'right to left'.
This commit is contained in:
Xevion
2022-04-05 11:52:49 -05:00
parent 8a21189c22
commit d2e851c1ca

View File

@@ -20,7 +20,7 @@ layout: compress
<link as="font" crossorigin href="/assets/fonts/-cmuntt.woff2" rel="preload">
<link as="font" crossorigin href="/assets/fonts/-cmunti.woff2" rel="preload">
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
{% if page.date -%}
{% if page.title and page._preview_description or page._preview_image -%}
<meta content="website" property="og:type">
<meta property="og:url" content="{{ page.url | absolute_url }}">
<meta property="og:title" content="{{ page.title }}">