mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
don't include summary if there is none
This commit is contained in:
parent
2b99b7906e
commit
8755ef0ca6
1 changed files with 6 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue