aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sourcehut')
-rw-r--r--themes/sourcehut/address-book.html5
-rw-r--r--themes/sourcehut/address-object.html2
2 files changed, 2 insertions, 5 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>
diff --git a/themes/sourcehut/address-object.html b/themes/sourcehut/address-object.html
index b664f62..1ab445f 100644
--- a/themes/sourcehut/address-object.html
+++ b/themes/sourcehut/address-object.html
@@ -13,7 +13,7 @@
</li>
<li class="nav-item">
<a class="nav-link"
- href="/contacts/{{.AddressObject.Card.Value "UID" | pathescape}}/edit"
+ href="{{.AddressObject.URL}}/edit"
>Edit</a>
</li>
<li class="mr-auto d-none d-sm-flex"></li>