aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/event.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sourcehut/event.html')
-rw-r--r--themes/sourcehut/event.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/sourcehut/event.html b/themes/sourcehut/event.html
index 6290742..a298ce1 100644
--- a/themes/sourcehut/event.html
+++ b/themes/sourcehut/event.html
@@ -6,7 +6,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-md-12 header-tabbed">
- <h2>{{$event.Summary}}</h2>
+ <h2>{{$event.Props.Text "SUMMARY"}}</h2>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="#">View</a>
@@ -27,11 +27,11 @@
<div class="container">
<ul>
- <li><strong>Start date</strong>: {{$event.StartDate | formatdate}}</li>
- <li><strong>End date</strong>: {{$event.EndDate | formatdate}}</li>
+ <li><strong>Start date</strong>: {{$event.DateTimeStart nil | formatdate}}</li>
+ <li><strong>End date</strong>: {{$event.DateTimeEnd nil | formatdate}}</li>
</ul>
- <pre>{{$event.Description}}</pre>
+ <pre>{{$event.Props.Text "DESCRIPTION"}}</pre>
</div>
{{template "foot.html"}}