From 9f7b903901acb0cd6ec9cb2146406a92ebf79cab Mon Sep 17 00:00:00 2001 From: Vika Date: Fri, 7 Oct 2022 19:53:04 +0300 Subject: templates: move static assets to the templates crate It makes more sense to keep CSS near the templates, and the client-side JavaScript code too, since it depends on the DOM structure to work. Additionally, the overhead of `include_dir!()` is almost completely mitigated by the fact that this is a separate crate that isn't recompiled often. The linking stage, however, is still expected to take a little bit long. But I doubt it'd be longer than what it was before, since it's the same exact files that get linked into the app. --- kittybox-rs/javascript/jslicense.html | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 kittybox-rs/javascript/jslicense.html (limited to 'kittybox-rs/javascript/jslicense.html') diff --git a/kittybox-rs/javascript/jslicense.html b/kittybox-rs/javascript/jslicense.html deleted file mode 100644 index 90c681c..0000000 --- a/kittybox-rs/javascript/jslicense.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - JavaScript licensing information for Kittybox - - -

All JavaScript included with Kittybox is licensed as free software, most of it under AGPL-3.0.

- - - - - - - - - - - - - - - - - - - - - -
onboarding.jsAGPL-3.0onboarding.ts (Kittybox source code)
indieauth.jsAGPL-3.0indieauth.ts (Kittybox source code)
lib.jsAGPL-3.0lib.ts (Kittybox source code)
indieauth.jsAGPL-3.0indieauth.ts (Kittybox source code)
- - -- cgit 1.4.1