This makes calendar events viewable in the sourcehut theme.
---
themes/sourcehut/calendar.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/sourcehut/calendar.html b/themes/sourcehut/calendar.html
index d0cfac0..3378fbd 100644
--- a/themes/sourcehut/calendar.html
+++ b/themes/sourcehut/calendar.html
@@ -30,7 +30,7 @@
<li class="nav-item">
<a
class="nav-link"
- href="/calendar/{{$event.Props.Text "UID" | pathescape}}"
+ href="{{.URL}}"
>
{{$event.Props.Text "SUMMARY"}}
({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
--
2.36.1