diff --git a/extra/http/server/templating/templating.factor b/extra/http/server/templating/templating.factor index f22298f3b4..f8022c0a58 100644 --- a/extra/http/server/templating/templating.factor +++ b/extra/http/server/templating/templating.factor @@ -77,7 +77,10 @@ DEFER: <% delimiter parser-notes off templating-vocab use+ dup source-file file set ! so that reload works properly - [ contents eval-template ] keep + [ + ?resource-path contents + eval-template + ] keep ] with-scope ] assert-depth drop ;