themes/sourcehut: fix calender event URLs
This makes calendar events viewable in the sourcehut theme.
This commit is contained in:
parent
1dfcf61f63
commit
9cb23b0997
1 changed files with 1 additions and 1 deletions
|
@ -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}})
|
||||
|
|
Loading…
Reference in a new issue