Add canonical link support to 2.4 theme (#53801)

* Add canonical link support to 2.4 theme
* fix so 2.4 docs build
pull/55158/head
Dag Wieers 7 years ago committed by Matt Clay
parent 38522e374b
commit b8af7335ac

@ -33,6 +33,7 @@
{% if favicon %} {% if favicon %}
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/> <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
{% endif %} {% endif %}
<link rel="canonical" href="https://docs.ansible.com/ansible/latest/{{ pagename }}.html"/>
{# CSS #} {# CSS #}
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>

@ -194,7 +194,7 @@ Common return values are documented here :doc:`common_return_values`, the follow
<th class="head">type</th> <th class="head">type</th>
<th class="head">sample</th> <th class="head">sample</th>
</tr> </tr>
{% for entry in returndocs|dictsort %} {% for entry, unusedvalue in returndocs|dictsort %}
<tr> <tr>
<td>@{ entry }@</td> <td>@{ entry }@</td>

Loading…
Cancel
Save