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