diff --git a/src/dragonglass/template.py b/src/dragonglass/template.py index 4d756e0..3df6af9 100644 --- a/src/dragonglass/template.py +++ b/src/dragonglass/template.py @@ -126,10 +126,8 @@ def template_vars(node: SourceNode, ctxt: Context) -> dict[str, Any]: stylesheet_path = ctxt.source_dir / ctxt.default_stylesheet rel_path = ctxt.source_dir / node.path tvars['default_stylesheet'] = urlquote(stylesheet_path.relative_to(rel_path.parent, walk_up=True).as_posix()) - pass else: tvars['default_stylesheet'] = urlquote(ctxt.url_prefix + ctxt.default_stylesheet) - pass return tvars