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 3115764 commit ecd4e44Copy full SHA for ecd4e44
website/www/_templates/layout.html
@@ -48,7 +48,13 @@
48
content="Page {{ pagename }} in documentation on the Roundup issue tracker, version {{ release|e }}.">
49
{%- endif %}
50
{%- if pageurl %}
51
+ {%- if pageurl.endswith("org/index.html") %}
52
+ <!-- strip the index.html to make
53
+ https://www.roundup-tracker.org/ canonical -->
54
+ <link rel="canonical" href="{{ pageurl[:-10] }}" />
55
+ {%- else %}
56
<link rel="canonical" href="{{ pageurl|e }}" />
57
+ {%- endif %}
58
59
{%- if use_opensearch %}
60
<link rel="search" type="application/opensearchdescription+xml"
0 commit comments