Skip to content

Commit 69024fd

Browse files
committed
Improve og/meta tags
1 parent 8525f8d commit 69024fd

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

src/_includes/_head.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link rel="canonical" href="{{ canonicalUrl }}">
1313
<meta name="author" content="{{ metadata.name }}">
1414
<meta name="google-site-verification" content="6TWQ5Bn6LQn9UJ3mgt1nIDIsdvIsPOilhHuWvy5S5kY" />
15+
<meta name="robots" content="index, follow, max-image-preview:large">
1516

1617
<!-- Open Graph -->
1718
<meta property="og:title" content="{{ pageTitle }}">
@@ -27,13 +28,8 @@
2728
{% if alt %}<meta property="og:image:alt" content="{{ alt }}">{% endif %}
2829
{% endif %}
2930

30-
<!-- Twitter Card -->
31-
<meta name="twitter:card" content="summary">
32-
<meta name="twitter:title" content="{{ pageTitle }}">
33-
<meta name="twitter:description" content="{{ pageDescription }}">
34-
{% if image %}<meta name="twitter:image" content="{{ imageUrl }}">
35-
{% if alt %}<meta name="twitter:image:alt" content="{{ alt }}">{% endif %}
36-
{% endif %}
31+
<!-- RSS Autodiscovery -->
32+
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="{{ metadata.baseURL }}/feed.xml">
3733

3834
<!-- Theme init: must load synchronously before CSS to prevent flash -->
3935
<script src="/_scripts/theme-init.js"></script>

0 commit comments

Comments
 (0)