mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix og:title not being set unless description is set
This commit is contained in:
parent
4a2d5c9066
commit
a0c0cce2ab
@ -9,8 +9,8 @@
|
||||
<link rel="icon" href="/favicon-128.png" sizes="128x128">
|
||||
<link rel="icon" href="/favicon-32.png" sizes="32x32">
|
||||
<meta name="og:site_name" content="ContentDB">
|
||||
{% if self.description and self.description != "" -%}
|
||||
<meta name="og:title" content="{{ self.title() | normalize_whitespace }}">
|
||||
{% if self.description and self.description != "" -%}
|
||||
<meta name="description" content="{{ self.description() | normalize_whitespace }}">
|
||||
<meta name="og:description" content="{{ self.description() | normalize_whitespace }}">
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user