From 100b5a27923143a967edea96f70e35bb22d76a54 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 6 May 2024 18:38:30 +0200 Subject: fix cdn support for themes --- bin/pyggle | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pyggle b/bin/pyggle index 0d086d7..74d9d71 100755 --- a/bin/pyggle +++ b/bin/pyggle @@ -694,6 +694,7 @@ if __name__ == "__main__": if args.cdn: html_buf = html_buf.replace('href=".data/css/', f'href="{args.cdn}/css/') html_buf = html_buf.replace('src=".data/js/', f'src="{args.cdn}/js/') + html_buf = html_buf.replace("path = '.data/css/'", f"path = '{args.cdn}/css/'") if args.html_include: with open(args.html_include, "r") as f: -- cgit v1.2.3