summaryrefslogtreecommitdiff
path: root/pages/calendar-day.mustache
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-05-10 18:54:45 +0200
committerTom Smeding <tom@tomsmeding.com>2026-05-10 18:54:45 +0200
commit5d6f1f42eec48ae1671e54cdd127f39318416498 (patch)
tree58672af74066d702fef81c5fdc9587de77d42c57 /pages/calendar-day.mustache
parent66e9a4f242b9f02a7fcf6b5fc610417a50e1ba87 (diff)
Generate renderer functions using TH
These take (and project from) a data type instead of hash maps, _and_ use text-builder-linear, _and_ have the full template inlined. The result is that this is the fastest renderer yet.
Diffstat (limited to 'pages/calendar-day.mustache')
-rw-r--r--pages/calendar-day.mustache4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/calendar-day.mustache b/pages/calendar-day.mustache
index 9df9998..f3a1895 100644
--- a/pages/calendar-day.mustache
+++ b/pages/calendar-day.mustache
@@ -21,8 +21,8 @@
{{#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">{{&.}}</span>{{/nickwrap1}}{{&nickE}}{{#nickwrap2}}<span class="nickwrap">{{&.}}</span>{{/nickwrap2}}</td>
- <td>{{&messageE}}</td>
+ <td>{{#nickwrap1}}<span class="nickwrap">{{&.}}</span>{{/nickwrap1}}{{nick}}{{#nickwrap2}}<span class="nickwrap">{{&.}}</span>{{/nickwrap2}}</td>
+ <td>{{message}}</td>
</tr>
{{/events}}
</tbody></table>