themes/sourcehut: fix calender event URLs

This makes calendar events viewable in the sourcehut theme.
This commit is contained in:
Conrad Hoffmann 2022-06-03 10:12:14 +02:00 committed by Simon Ser
parent 1dfcf61f63
commit 9cb23b0997
1 changed files with 1 additions and 1 deletions

View File

@ -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}})