Commits

Sebastian Wiesner  committed 37660eb

Fixed #382: CSS files are already prefixed with _static/

  • Participants
  • Parent commits b95b2f4

Comments (0)

Files changed (1)

File sphinx/themes/basic/layout.html

     <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
     {%- for cssfile in css_files %}
-    <link rel="stylesheet" href="{{ pathto('_static/' + cssfile, 1) }}" type="text/css" />
+    <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
     {%- endfor %}
     {%- if not embedded %}
     <script type="text/javascript">