don't include summary if there is none

This commit is contained in:
Ell 2023-06-01 23:17:28 +02:00
parent 2b99b7906e
commit 8755ef0ca6

View file

@ -7,7 +7,9 @@
<title>{{ page.title }}</title>
<meta name="author" content="Ellpeck Games">
{% if page.summary %}
<meta name="description" content="{{ page.summary }}">
{% endif %}
<meta name="keywords" content="Ellpeck, Ellpeck Games, Tiny Life, Steam, itch, itch.io, Sandbox, Life Simulator, Simulator, Sim, Isometric, Pixelart, Pixel Art, Retro">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
@ -16,7 +18,9 @@
<link rel="icon" href="/favicon.ico">
<meta property="og:title" content="{{ page.title }}">
{% if page.summary %}
<meta property="og:description" content="{{ page.summary }}">
{% endif %}
<meta property="og:image" content="https://tinylifegame.com/media/icon.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@Ellpeck">