--- sphinx_press_theme/layout.html.orig	2026-05-03 20:14:27 UTC
+++ sphinx_press_theme/layout.html
@@ -12,6 +12,8 @@
       {%- for css in css_files %}
         {%- if css|attr("rel") %}
           <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
+        {%- elif css|attr("filename") %}
+          {{ css_tag(css) }}
         {%- else %}
           <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
       {%- endif %}
