summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-06 18:38:30 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-06 18:38:30 +0200
commit100b5a27923143a967edea96f70e35bb22d76a54 (patch)
treebed7f436c099c7e9d7a1529e0da346956ad929a2
parentc43ec5c75d8a0a7c28cf829b9d91ecabac515d6e (diff)
fix cdn support for themes
-rwxr-xr-xbin/pyggle1
1 files changed, 1 insertions, 0 deletions
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: