From 3a27bf5664a40f4b21b7fc2b8ccd605e574bc664 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Wed, 14 Aug 2024 13:36:56 -0600 Subject: [PATCH] minor cleanup --- src/dragonglass/template.py | 2 -- 1 file changed, 2 deletions(-) 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