aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Hoffmann <ch@bitfehler.net>2022-06-03 10:12:14 +0200
committerSimon Ser <contact@emersion.fr>2022-06-03 10:14:09 +0200
commit9cb23b09975e95f6a5952e3718eaf471c3e3510f (patch)
tree1e5b54f5057c000b93f2afa6e5ef037a9bfda62a
parent1dfcf61f63211a5ae8c4a283727169aeeef8d5dc (diff)
downloadalps-9cb23b09975e95f6a5952e3718eaf471c3e3510f.tar.gz
alps-9cb23b09975e95f6a5952e3718eaf471c3e3510f.zip
themes/sourcehut: fix calender event URLs
This makes calendar events viewable in the sourcehut theme.
-rw-r--r--themes/sourcehut/calendar.html2
1 files changed, 1 insertions, 1 deletions
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}})