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.
og:type
article:published_time
1 parent a30ad5c commit 2569c71Copy full SHA for 2569c71
_includes/opengraph.html
@@ -45,11 +45,16 @@
45
{% endif %}
46
<meta name="twitter:card" content="summary_large_image">
47
48
-
49
{% if layout.amethyst.pagetype == "navigation" %}
50
<meta name="robots" content="{{ page.amethyst.robots | default: layout.amethyst.robots | default: 'noindex,follow' }}">
51
<meta name="docsearch:amethyst_pagetype_navigation" content="1">
52
53
+{% if page.layout == "post" and page.date and page.author %}
54
+<meta property="og:type" content="article">
55
+<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
56
+<meta name="author" content="{% include author-text.html author=page.author %}">
57
+{% endif %}
58
+
59
{% endcapture -%}
60
{{ opengraph | strip_newlines }}
0 commit comments