about summary refs log tree commit diff
path: root/kittybox-rs/templates/src/templates.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-10-03 17:45:22 +0300
committerVika <vika@fireburn.ru>2022-10-03 17:45:22 +0300
commit0e0d711a9d524c445a61a05831a824ac7080f3b8 (patch)
tree66fcd25abd802fb9fd74aadbc3293c3a34ccf940 /kittybox-rs/templates/src/templates.rs
parent568f98589b6c30bb3f807517d28039b12dd54be3 (diff)
LibreJS compatibility
I don't know how worthwhile that was, given that LibreJS developers
themselves don't care to properly declare licenses on the Bazaar
frontend they use to host the extension's source code on the Web 🤡
Diffstat (limited to 'kittybox-rs/templates/src/templates.rs')
-rw-r--r--kittybox-rs/templates/src/templates.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/kittybox-rs/templates/src/templates.rs b/kittybox-rs/templates/src/templates.rs
index 60daa55..ba5b684 100644
--- a/kittybox-rs/templates/src/templates.rs
+++ b/kittybox-rs/templates/src/templates.rs
@@ -19,6 +19,8 @@ markup::define! {
                 // legacy links for some dumb clients
                 link[rel="authorization_endpoint", href="/.kittybox/indieauth/auth"];
                 link[rel="token_endpoint", href="/.kittybox/indieauth/token"];
+                // LibreJS-compliant JS licensing info (because TypeScript is a bitch)
+                link[rel="jslicense", href="/.kittybox/static/jslicense.html"];
                 /*@if let Some(endpoints) = endpoints {
                     @if let Some(webmention) = &endpoints.webmention {
                         link[rel="webmention", href=&webmention];