calendar-table: Limit to next 7 events
This commit is contained in:
parent
e5e4a12b13
commit
4f4d2c0fc6
|
@ -8,7 +8,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{- range first 10 (sort $.Site.Data.calendar "dtstart" ) }}
|
{{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }}
|
||||||
{{- if eq ._type "vevent"}}
|
{{- if eq ._type "vevent"}}
|
||||||
<tr>
|
<tr>
|
||||||
{{- $start := time .dtstart }}
|
{{- $start := time .dtstart }}
|
||||||
|
|
Loading…
Reference in a new issue