Make sure missing data is handled gracefully
This commit is contained in:
parent
c0dfc9131d
commit
79eac5c7c5
2 changed files with 23 additions and 10 deletions
|
|
@ -43,4 +43,6 @@ days:
|
|||
|
||||
Wide screens get one column per day on an hour grid, with tours that start at the same time side by side. The first column shows the hour wherever the first day has no tour in it. On narrow screens a day picker shows one day at a time, starting with today's day during the event.
|
||||
|
||||
For a different event than the page's section, pass its name: `{{< schedule 39c3 >}}`.
|
||||
For a different event than the page's section, pass its name: `{{< schedule 39c3 >}}`.
|
||||
|
||||
Without a data file, or without any tours in it, the shortcode renders nothing and the build logs a warning. To silence it, for example for an upcoming event, add `warning-schedule-empty` to `ignoreLogs` in `hugo.yaml`.
|
||||
Loading…
Reference in a new issue