about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs
index cfef379..8155b2c 100644
--- a/src/frontend/mod.rs
+++ b/src/frontend/mod.rs
@@ -477,7 +477,7 @@ mod templates {
                 @if card["properties"]["url"].is_array() {
                     ul {
                         "Can be found elsewhere at:"
-                        @for url in card["properties"]["url"].as_array().unwrap().iter().filter_map(|v| v.as_str()).filter(|v| v != &card["properties"]["uid"][0].as_str().unwrap()) {
+                        @for url in card["properties"]["url"].as_array().unwrap().iter().filter_map(|v| v.as_str()).filter(|v| v != &card["properties"]["uid"][0].as_str().unwrap()).filter(|v| !v.starts_with(&card["properties"]["author"][0].as_str().unwrap())) {
                             li { a."u-url"[href=url, rel="me"] { @url } }
                         }
                     }