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.
meta[name=alternate]
1 parent 4c2b0d9 commit 8adb786Copy full SHA for 8adb786
_includes/header.html
@@ -14,14 +14,16 @@
14
15
<title>{{ page.title }} | WP-CLI</title>
16
<meta name="description" content="{{ page.description }}">
17
+
18
+ {% for lang in site.languages %}<link rel="alternate" hreflang="{{lang.iso-alpha2}}" href="{{site.url}}{{lang.path}}" />
19
+ {% endfor %}
20
</head>
21
22
{% if page.display_global_parameters %}
23
<body class="display-global-parameters">
24
{% else %}
25
<body>
26
{% endif %}
-
27
<header class="cf">
28
<div class="container">
29
<h1><a href="/">WP-CLI</a></h1>
@@ -33,7 +35,7 @@ <h2>A command line interface for WordPress</h2>
33
35
34
36
37
{% include navigation.html %}
- {% include languages.html %}
38
+ {% include languages.html %}
39
</div>
40
</header>
41
0 commit comments