aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/address-book.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-27 12:17:23 +0100
committerSimon Ser <contact@emersion.fr>2020-02-27 12:17:23 +0100
commit89149b38c8d10d4db457614450517e4ab6d57062 (patch)
tree0ef58d1e264a9c48b74a55a1bf034598c9cd941f /themes/sourcehut/address-book.html
parent62853a933e7445d68a8ab0fc144e716afc3baa44 (diff)
downloadalps-89149b38c8d10d4db457614450517e4ab6d57062.tar.gz
alps-89149b38c8d10d4db457614450517e4ab6d57062.zip
plugins/carddav: use paths instead of UIDs in URLs
Diffstat (limited to 'themes/sourcehut/address-book.html')
-rw-r--r--themes/sourcehut/address-book.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/themes/sourcehut/address-book.html b/themes/sourcehut/address-book.html
index 666e08a..c5600d6 100644
--- a/themes/sourcehut/address-book.html
+++ b/themes/sourcehut/address-book.html
@@ -37,10 +37,7 @@
<ul class="nav flex-column">
{{range .AddressObjects}}
<li class="nav-item">
- <a
- class="nav-link"
- href="/contacts/{{.Card.Value "UID" | pathescape}}"
- >{{.Card.Value "FN"}}</a>
+ <a class="nav-link" href="{{.URL}}">{{.Card.Value "FN"}}</a>
</li>
{{end}}
</ul>