diff --git a/textproc/py-sphinx_press_theme/Makefile b/textproc/py-sphinx_press_theme/Makefile index e5e42728350f..33e2e07af6c2 100644 --- a/textproc/py-sphinx_press_theme/Makefile +++ b/textproc/py-sphinx_press_theme/Makefile @@ -1,23 +1,23 @@ PORTNAME= sphinx_press_theme PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Them for py-sphinx based on VuePress WWW= https://schettino72.github.io/sphinx_press_site/ LICENSE= BSD2CLAUSE MIT LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/textproc/py-sphinx_press_theme/files/patch-sphinx__press__theme_layout.html b/textproc/py-sphinx_press_theme/files/patch-sphinx__press__theme_layout.html new file mode 100644 index 000000000000..b7d421cfa279 --- /dev/null +++ b/textproc/py-sphinx_press_theme/files/patch-sphinx__press__theme_layout.html @@ -0,0 +1,11 @@ +--- 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") %} + ++ {%- elif css|attr("filename") %} ++ {{ css_tag(css) }} + {%- else %} + + {%- endif %}