summaryrefslogtreecommitdiff
path: root/pages/calendar-day.mustache
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-05-09 12:48:36 +0200
committerTom Smeding <tom@tomsmeding.com>2026-05-09 12:49:00 +0200
commita63a096d075797f12ed614d5029e16f55a8bc769 (patch)
tree688b7935f43127310d31ca385969ccdef3b16a2a /pages/calendar-day.mustache
parent4dc5780474753b804cfc7f095c2bc47b8229f5e2 (diff)
Optimisations to log rendering with mustache
Diffstat (limited to 'pages/calendar-day.mustache')
-rw-r--r--pages/calendar-day.mustache12
1 files changed, 6 insertions, 6 deletions
diff --git a/pages/calendar-day.mustache b/pages/calendar-day.mustache
index f72f42a..3483d59 100644
--- a/pages/calendar-day.mustache
+++ b/pages/calendar-day.mustache
@@ -12,17 +12,17 @@
<header>
<a href="/" class="hdritem">Home</a>
{{network}}/{{channel}}:
- <a href="/log/{{alias}}" class="hdritem">Logs</a>
- <a href="/cal/{{alias}}" class="hdritem">Calendar</a>
+ <a href="/log/{{&alias}}" class="hdritem">Logs</a>
+ <a href="/cal/{{&alias}}" class="hdritem">Calendar</a>
</header>
<main>
<h1>Logs on {{date}} ({{network}}/{{channel}})</h1>
<table id="events"><tbody>
{{#events}}
- <tr{{#classlist}} class="{{.}}"{{/classlist}}>
- <td><a href="/cal/{{alias}}/{{date}}?eid={{linkid}}#ev-{{linkid}}" name="ev-{{linkid}}">{{time}}</a></td>
- <td>{{#nickwrap1}}<span class="nickwrap">{{nickwrap1}}</span>{{/nickwrap1}}{{nick}}{{#nickwrap2}}<span class="nickwrap">{{nickwrap2}}</span>{{/nickwrap2}}</td>
- <td>{{message}}</td>
+ <tr{{#classlist}} class="{{&.}}"{{/classlist}}>
+ <td><a href="/cal/{{&alias}}/{{&date}}?eid={{&linkid}}#ev-{{&linkid}}" name="ev-{{&linkid}}">{{&time}}</a></td>
+ <td>{{#nickwrap1}}<span class="nickwrap">{{&nickwrap1}}</span>{{/nickwrap1}}{{&nickE}}{{#nickwrap2}}<span class="nickwrap">{{&nickwrap2}}</span>{{/nickwrap2}}</td>
+ <td>{{&messageE}}</td>
</tr>
{{/events}}
</tbody></table>