diff --git a/docs/en_US/theme/pgadmin4/layout.html b/docs/en_US/theme/pgadmin4/layout.html index 1496bbdbb..54fd7500b 100644 --- a/docs/en_US/theme/pgadmin4/layout.html +++ b/docs/en_US/theme/pgadmin4/layout.html @@ -4,7 +4,7 @@ Master layout template for Sphinx themes. - :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. + :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {%- block doctype -%}{%- if html5_doctype %} @@ -87,9 +87,18 @@ {%- endmacro %} {%- macro script() %} - - {%- for js in script_files %} - {{ js_tag(js) }} + + {%- for scriptfile in script_files %} + {%- endfor %} {%- endmacro %} @@ -97,8 +106,8 @@ {%- for css in css_files %} - {%- if css|attr("filename") %} - {{ css_tag(css) }} + {%- if css|attr("rel") %} + {%- else %} {%- endif %} @@ -111,10 +120,7 @@ {%- endif %}
- {%- if not html5_doctype and not skip_ua_compatible %} - - {%- endif %} - {%- if use_meta_charset or html5_doctype %} + {%- if use_meta_charset %} {%- else %} @@ -123,19 +129,13 @@ {%- block htmltitle %}