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

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