1 diff --git a/Documentation/theme/layout.html b/Documentation/theme/layout.html
2 index fcc6d221..339aacd6 100644
3 --- a/Documentation/theme/layout.html
4 +++ b/Documentation/theme/layout.html
5 @@ -35,7 +35,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
7 {# RTD hosts this file, so just load on non RTD builds #}
8 {% if not READTHEDOCS %}
9 - <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
10 + <link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" type="text/css" />
13 {% for cssfile in css_files %}