diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-06 18:38:30 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-05-06 18:38:30 +0200 |
commit | 100b5a27923143a967edea96f70e35bb22d76a54 (patch) | |
tree | bed7f436c099c7e9d7a1529e0da346956ad929a2 | |
parent | c43ec5c75d8a0a7c28cf829b9d91ecabac515d6e (diff) |
fix cdn support for themes
-rwxr-xr-x | bin/pyggle | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |