mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(converter) Add special keyword for websites with a tilde url.
This commit is contained in:
parent
c8d820c17b
commit
8375237de5
@ -52,6 +52,10 @@ public abstract class AbstractDocumentProcessorPlugin {
|
||||
add("site", url.domain.domain);
|
||||
add("tld", url.domain.getTld());
|
||||
|
||||
if (url.path.startsWith("/~")) {
|
||||
add("special", "tilde");
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user