We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d5bc3 commit 1f3abdeCopy full SHA for 1f3abde
docs/overrides/main.html
@@ -12,13 +12,19 @@
12
<meta property="og:title" content="{{ config.site_name }}}" />
13
{% endif %}
14
15
+{% if page.meta and page.meta.description %}
16
+<meta property="og:description" content="{{ page.meta.description }}" />
17
+{% elif config.site_description %}
18
+<meta property="og:description" content="{{ config.site_description }}" />
19
+{% endif %}
20
+
21
<meta property="og:type" content="website" />
22
{% if page.canonical_url %}
23
<meta property="og:url" content="{{ page.canonical_url }}" />
24
25
26
-<meta property="og:image" content="{{ 'img/preview.jpg' | url }}" />
27
+<meta property="og:image" content="{{ config.site_url }}img/preview.jpg" />
28
29
{% endblock %}
30
0 commit comments